Validator.GetFullPropertyName Method (ValidationManager)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Helper method to extract the full property name.

Namespace:   System.Workflow.ComponentModel.Compiler
Assembly:  System.Workflow.ComponentModel (in System.Workflow.ComponentModel.dll)

protected string GetFullPropertyName(
	ValidationManager manager


Type: System.Workflow.ComponentModel.Compiler.ValidationManager

The ValidationManager linked to the validation.

Return Value

Type: System.String

The full property name.

Exception Condition

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
Return to top