Condividi tramite


ValidationController.GetExtensionElements Method

Calculates and returns a list of extension elements that should be included in the list of elements being validated

Namespace:  Microsoft.VisualStudio.Modeling.Validation
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)

Syntax

'Dichiarazione
Protected Overridable Function GetExtensionElements ( _
    elementsToValidate As IEnumerable(Of ModelElement) _
) As IEnumerable(Of ExtensionElement)
protected virtual IEnumerable<ExtensionElement> GetExtensionElements(
    IEnumerable<ModelElement> elementsToValidate
)
protected:
virtual IEnumerable<ExtensionElement^>^ GetExtensionElements(
    IEnumerable<ModelElement^>^ elementsToValidate
)
abstract GetExtensionElements : 
        elementsToValidate:IEnumerable<ModelElement> -> IEnumerable<ExtensionElement> 
override GetExtensionElements : 
        elementsToValidate:IEnumerable<ModelElement> -> IEnumerable<ExtensionElement> 
protected function GetExtensionElements(
    elementsToValidate : IEnumerable<ModelElement>
) : IEnumerable<ExtensionElement>

Parameters

Return Value

Type: System.Collections.Generic.IEnumerable<ExtensionElement>
A list of ExtensionElements that should also be validated

.NET Framework Security

See Also

Reference

ValidationController Class

Microsoft.VisualStudio.Modeling.Validation Namespace