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 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.dll)

Syntax

'宣言
Protected Function GetDiagramFromPhysicalView ( _
    diagramDomainClassId As Guid _
) As Diagram
'使用
Dim diagramDomainClassId As Guid
Dim returnValue As Diagram

returnValue = Me.GetDiagramFromPhysicalView(diagramDomainClassId)
protected Diagram GetDiagramFromPhysicalView(
    Guid diagramDomainClassId
)
protected:
Diagram^ GetDiagramFromPhysicalView(
    Guid diagramDomainClassId
)
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.

Permissions

See Also

Reference

DiagramDocView Class

DiagramDocView Members

Microsoft.VisualStudio.Modeling.Shell Namespace