다음을 통해 공유


ValidationContext.ValidationSubjects Property

Gets the list of model elements to validate.

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

Syntax

‘선언
Public ReadOnly Property ValidationSubjects As ReadOnlyCollection(Of ModelElement)
    Get
public ReadOnlyCollection<ModelElement> ValidationSubjects { get; }
public:
property ReadOnlyCollection<ModelElement^>^ ValidationSubjects {
    ReadOnlyCollection<ModelElement^>^ get ();
}
member ValidationSubjects : ReadOnlyCollection<ModelElement>
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

Microsoft.VisualStudio.Modeling.Validation Namespace