SingleDiagramDocView.Diagram Property
Gets a diagram.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0.dll)
Syntax
'Declaration
Public Property Diagram As Diagram
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
The diagram.
Remarks
If the view for the diagram does not exist, a view is created.
After the diagram is retrieved, the primary (first) shape in the diagram is selected.
.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.