ModelingDocData.GetAllElementsForValidation Method

Get all elements for validation. The base implementation returns all elements in the store of this DocData.

Namespace:  Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0.dll)

Syntax

'Declaration
Public Overridable Function GetAllElementsForValidation As IEnumerable(Of ModelElement)
public virtual IEnumerable<ModelElement> GetAllElementsForValidation()
public:
virtual IEnumerable<ModelElement^>^ GetAllElementsForValidation()
abstract GetAllElementsForValidation : unit -> IEnumerable<ModelElement> 
override GetAllElementsForValidation : unit -> IEnumerable<ModelElement> 
public function GetAllElementsForValidation() : IEnumerable<ModelElement>

Return Value

Type: IEnumerable<ModelElement>
All elements for validation, empty collection if none exists.

.NET Framework Security

See Also

Reference

ModelingDocData Class

Microsoft.VisualStudio.Modeling.Shell Namespace