다음을 통해 공유


ModelElementLocator.FindDocView Method

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

This API is not CLS-compliant. 

Namespace:  Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0.dll)

Syntax

'Declaration
<CLSCompliantAttribute(False)> _
Public Function FindDocView ( _
    logicalView As Guid, _
    diagram As Diagram _
) As ModelingDocView
[CLSCompliantAttribute(false)]
public ModelingDocView FindDocView(
    Guid logicalView,
    Diagram diagram
)
[CLSCompliantAttribute(false)]
public:
ModelingDocView^ FindDocView(
    Guid logicalView, 
    Diagram^ diagram
)
[<CLSCompliantAttribute(false)>]
member FindDocView : 
        logicalView:Guid * 
        diagram:Diagram -> ModelingDocView
public function FindDocView(
    logicalView : Guid, 
    diagram : Diagram
) : ModelingDocView

Parameters

  • logicalView
    Type: System.Guid

    Guid for the diagram's logical view.

Return Value

Type: Microsoft.VisualStudio.Modeling.Shell.ModelingDocView

.NET Framework Security

See Also

Reference

ModelElementLocator Class

Microsoft.VisualStudio.Modeling.Shell Namespace