次の方法で共有


ValidationExtensionRegistrar.GetValidationMethods Method

Definition

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

public:
 virtual System::Collections::Generic::IEnumerable<Delegate ^> ^ GetValidationMethods(System::Object ^ element, Microsoft::VisualStudio::Modeling::Validation::ValidationContext ^ context);
[System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.VisualStudio.Modeling.ExtensionEnablement.ValidationExtensionRegistrar+<GetValidationMethods>d__9))]
public virtual System.Collections.Generic.IEnumerable<Delegate> GetValidationMethods (object element, Microsoft.VisualStudio.Modeling.Validation.ValidationContext context);
[<System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.VisualStudio.Modeling.ExtensionEnablement.ValidationExtensionRegistrar+<GetValidationMethods>d__9))>]
abstract member GetValidationMethods : obj * Microsoft.VisualStudio.Modeling.Validation.ValidationContext -> seq<Delegate>
override this.GetValidationMethods : obj * Microsoft.VisualStudio.Modeling.Validation.ValidationContext -> seq<Delegate>
Public Iterator Overridable Function GetValidationMethods (element As Object, context As ValidationContext) As IEnumerable(Of Delegate)

Parameters

element
Object

Model element

Returns

Collection of validation actions appliable to this element

Attributes

Applies to