Partager via


DiagramItem.RepresentedElements Property

Gets a collection of ModelElements that this DiagramItem represents.

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

Syntax

'Déclaration
Public ReadOnly Property RepresentedElements As ICollection
    Get
public ICollection RepresentedElements { get; }
public:
property ICollection^ RepresentedElements {
    ICollection^ get ();
}
member RepresentedElements : ICollection
function get RepresentedElements () : ICollection

Property Value

Type: System.Collections.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