DiagramItem.RepresentedElements Property

Gets a collection of ModelElements that this DiagramItem represents.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)

Syntax

'Declaration
Public ReadOnly Property RepresentedElements As ICollection
public ICollection RepresentedElements { get; }
public:
property ICollection^ RepresentedElements {
    ICollection^ get ();
}
member RepresentedElements : ICollection with get
function get RepresentedElements () : ICollection

Property Value

Type: ICollection

Remarks

For a DiagramItem which describes just a ShapeElement, the representative element is the ShapeElement itself.

.NET Framework Security

See Also

Reference

DiagramItem Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace