ValidationMessage.ReferencedModelElements Property

Gets the model elements that are referenced by this message.

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

Syntax

声明
Public ReadOnly Property ReferencedModelElements As ReadOnlyCollection(Of ModelElement)
    Get
public ReadOnlyCollection<ModelElement> ReferencedModelElements { get; }
public:
property ReadOnlyCollection<ModelElement^>^ ReferencedModelElements {
    ReadOnlyCollection<ModelElement^>^ get ();
}
member ReferencedModelElements : ReadOnlyCollection<ModelElement>
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

See Also

Reference

ValidationMessage Class

Microsoft.VisualStudio.Modeling.Validation Namespace