Compartilhar via


ModelElementLocator.FindDocView(Guid, Diagram) Method

Definition

Important

This API is not CLS-compliant.

Finds a ModelingDocView displaying this diagam (if one exists).
May return null.

public:
 Microsoft::VisualStudio::Modeling::Shell::ModelingDocView ^ FindDocView(Guid logicalView, Microsoft::VisualStudio::Modeling::Diagrams::Diagram ^ diagram);
[System.CLSCompliant(false)]
public Microsoft.VisualStudio.Modeling.Shell.ModelingDocView FindDocView (Guid logicalView, Microsoft.VisualStudio.Modeling.Diagrams.Diagram diagram);
public Microsoft.VisualStudio.Modeling.Shell.ModelingDocView FindDocView (Guid logicalView, Microsoft.VisualStudio.Modeling.Diagrams.Diagram diagram);
[<System.CLSCompliant(false)>]
member this.FindDocView : Guid * Microsoft.VisualStudio.Modeling.Diagrams.Diagram -> Microsoft.VisualStudio.Modeling.Shell.ModelingDocView
member this.FindDocView : Guid * Microsoft.VisualStudio.Modeling.Diagrams.Diagram -> Microsoft.VisualStudio.Modeling.Shell.ModelingDocView
Public Function FindDocView (logicalView As Guid, diagram As Diagram) As ModelingDocView

Parameters

logicalView
Guid

Guid for the diagram's logical view

diagram
Diagram

diagram for which containing docData is need

Returns

DocView displaying the supplied diagram. May return null.

Attributes

Applies to