ValidationMessage.ReferencedModelElements Property
Gets the model elements that are referenced by this message.
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 ReferencedModelElements As ReadOnlyCollection(Of ModelElement)
public ReadOnlyCollection<ModelElement> ReferencedModelElements { get; }
public:
property ReadOnlyCollection<ModelElement^>^ ReferencedModelElements {
ReadOnlyCollection<ModelElement^>^ get ();
}
member ReferencedModelElements : ReadOnlyCollection<ModelElement> with get
function get ReferencedModelElements () : ReadOnlyCollection<ModelElement>
Property Value
Type: System.Collections.ObjectModel.ReadOnlyCollection<ModelElement>
A read-only collection of ModelElement objects.
Remarks
The collection contains the model elements that are involved with this error or warning.
.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.