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.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om