Compartilhar via


DiagramClientView.Diagram Property

Gets or sets the Diagram object associated with this DiagramClientView.

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

Syntax

'Declaração
Public Property Diagram As Diagram
    Get
    Set
public Diagram Diagram { get; set; }
public:
property Diagram^ Diagram {
    Diagram^ get ();
    void set (Diagram^ value);
}
member Diagram : Diagram with get, set
function get Diagram () : Diagram
function set Diagram (value : Diagram)

Property Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.Diagram

Remarks

Set this property to null to disassociate the DiagramClientView from any Diagram.

.NET Framework Security

See Also

Reference

DiagramClientView Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace