ShapeElement.Diagram Property

Gets the diagram to which the shape belongs.

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

Syntax

'Declaration
Public ReadOnly Property Diagram As Diagram
'Usage
Dim instance As ShapeElement 
Dim value As Diagram 

value = instance.Diagram
public Diagram Diagram { get; }
public:
property Diagram^ Diagram {
    Diagram^ get ();
}
public function get Diagram () : Diagram

Property Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.Diagram
The diagram to which the shape belongs; otherwise, nulla null reference (Nothing in Visual Basic) if the shape does not belong to a diagram.

.NET Framework Security

See Also

Reference

ShapeElement Class

ShapeElement Members

Microsoft.VisualStudio.Modeling.Diagrams Namespace