Validator::GetFullPropertyName Method (ValidationManager^)
.NET Framework (current version)
Helper method to extract the full property name.
Assembly: System.Workflow.ComponentModel (in System.Workflow.ComponentModel.dll)
Parameters
- manager
-
Type:
System.Workflow.ComponentModel.Compiler::ValidationManager^
The ValidationManager linked to the validation.
| Exception | Condition |
|---|---|
| ArgumentNullException | manager is null. |
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.
.NET Framework
Available since 3.0
Available since 3.0
Show: