Share via


ValidationMessage.ReferencedModelElements Property

Gets the model elements that are referenced by this message.

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

See Also

Reference

ValidationMessage Class

Microsoft.VisualStudio.Modeling.Validation Namespace