DiagramItem.RepresentedElements Property
Gets a collection of ModelElements that this DiagramItem represents.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.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: System.Collections.ICollection
Remarks
For a DiagramItem which describes just a ShapeElement, the representative element is the ShapeElement itself.
.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.