ValidationExtensionRegistrar::GetValidationMethods Method (Object^, ValidationContext^)

 

Default implementation to return all delegates appliable to the type of one model element (and its base type/implemented interfaces)

Namespace:   Microsoft.VisualStudio.Modeling.ExtensionEnablement
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)

public:
virtual IEnumerable<Delegate^>^ GetValidationMethods(
	Object^ element,
	ValidationContext^ context
)

Parameters

element
Type: System::Object^

Model element

Return Value

Type: System.Collections.Generic::IEnumerable<Delegate^>^

Collection of validation actions appliable to this element

Return to top
Show: