DiagramDocView.GetDiagramFromPhysicalView Method
Gets a model from the Store so that it can appear in the diagram view.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0.dll)
Syntax
'Declaration
Protected Function GetDiagramFromPhysicalView ( _
diagramDomainClassId As Guid _
) As Diagram
protected Diagram GetDiagramFromPhysicalView(
Guid diagramDomainClassId
)
protected:
Diagram^ GetDiagramFromPhysicalView(
Guid diagramDomainClassId
)
member GetDiagramFromPhysicalView :
diagramDomainClassId:Guid -> Diagram
protected function GetDiagramFromPhysicalView(
diagramDomainClassId : Guid
) : Diagram
Parameters
diagramDomainClassId
Type: System.GuidThe ID of the model that you want to retrieve.
Return Value
Type: Microsoft.VisualStudio.Modeling.Diagrams.Diagram
The model.
.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.