Partager via


DiagramItem.Diagram Property

Gets the Diagram that the shape belongs to.

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 Diagram As Diagram
public Diagram Diagram { get; }
public:
property Diagram^ Diagram {
    Diagram^ get ();
}
member Diagram : Diagram with get
function get Diagram () : Diagram

Property Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.Diagram

.NET Framework Security

See Also

Reference

DiagramItem Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace