Validator.GetFullPropertyName(ValidationManager) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Helper method to extract the full property name.
protected:
System::String ^ GetFullPropertyName(System::Workflow::ComponentModel::Compiler::ValidationManager ^ manager);
protected string GetFullPropertyName (System.Workflow.ComponentModel.Compiler.ValidationManager manager);
member this.GetFullPropertyName : System.Workflow.ComponentModel.Compiler.ValidationManager -> string
Protected Function GetFullPropertyName (manager As ValidationManager) As String
Parameters
- manager
- ValidationManager
The ValidationManager linked to the validation.
Returns
The full property name.
Exceptions
manager
is null
.
Remarks
Useful when the validated property is nested. The method traverses the PropertyValidationContext in the stack to build the full name of the property.
For example: the name My.Actor.Bas is built using three PropertyValidationContext items.
If the validated property belongs to an object that is an item in a collection, the method will produce the name of the collection.
Applies to
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour