DiagramView.Diagram Property
Gets or sets the Diagram object associated with this DiagramView.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Declaration
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 DiagramView from any Diagram.
.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.