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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)

Syntax

声明
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: System.Collections.Generic.IEnumerable<ModelElement>
All elements for validation, empty collection if none exists.

.NET Framework Security

See Also

Reference

ModelingDocData Class

Microsoft.VisualStudio.Modeling.Shell Namespace