ValidationExtensionRegistrar::GetValidationMethods Method (Object^, ValidationContext^)
Visual Studio 2015
Default implementation to return all delegates appliable to the type of one model element (and its base type/implemented interfaces)
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
Show: