Share via


ValidationContext.ValidationSubjects Property

Gets the list of model elements to validate.

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

Syntax

'Declaration
Public ReadOnly Property ValidationSubjects As ReadOnlyCollection(Of ModelElement)
'Usage
Dim instance As ValidationContext 
Dim value As ReadOnlyCollection(Of ModelElement)

value = instance.ValidationSubjects
public ReadOnlyCollection<ModelElement> ValidationSubjects { get; }
public:
property ReadOnlyCollection<ModelElement^>^ ValidationSubjects {
    ReadOnlyCollection<ModelElement^>^ get ();
}
public function get ValidationSubjects () : ReadOnlyCollection<ModelElement>

Property Value

Type: System.Collections.ObjectModel.ReadOnlyCollection<ModelElement>
Returns a read-only collection of model elements.

Remarks

This collection contains all the model elements that can have validation methods applied to them.

.NET Framework Security

See Also

Reference

ValidationContext Class

ValidationContext Members

Microsoft.VisualStudio.Modeling.Validation Namespace