Share via


ValidationContext.ValidationSubjects Property

Gets the list of model elements to validate.

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

Syntax

'Declaration
Public ReadOnly Property ValidationSubjects As ReadOnlyCollection(Of ModelElement)
public ReadOnlyCollection<ModelElement> ValidationSubjects { get; }
public:
property ReadOnlyCollection<ModelElement^>^ ValidationSubjects {
    ReadOnlyCollection<ModelElement^>^ get ();
}
member ValidationSubjects : ReadOnlyCollection<ModelElement> with get
function get ValidationSubjects () : ReadOnlyCollection<ModelElement>

Property Value

Type: 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

Microsoft.VisualStudio.Modeling.Validation Namespace