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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.