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
Feedback
https://aka.ms/ContentUserFeedback.
În curând: Pe parcursul anului 2024, vom elimina treptat Probleme legate de GitHub ca mecanism de feedback pentru conținut și îl vom înlocui cu un nou sistem de feedback. Pentru mai multe informații, consultați:Trimiteți și vizualizați feedback pentru