Share via


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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.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.Guid
    The ID of the model that you want to retrieve.

Return Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.Diagram
The model.

.NET Framework Security

See Also

Reference

DiagramDocView Class

Microsoft.VisualStudio.Modeling.Shell Namespace