ValidationContext.ValidationSubjects Property
Gets the list of model elements to validate.
Namespace: Microsoft.VisualStudio.Modeling.Validation
Assembly: Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.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: 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.