Condividi tramite


ModelingDocData.SupportsLogicalView Method

Verifies whether the document supports the specified 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
Public Overridable Function SupportsLogicalView ( _
    logicalView As Guid _
) As Boolean
public virtual bool SupportsLogicalView(
    Guid logicalView
)
public:
virtual bool SupportsLogicalView(
    Guid logicalView
)
abstract SupportsLogicalView : 
        logicalView:Guid -> bool  
override SupportsLogicalView : 
        logicalView:Guid -> bool
public function SupportsLogicalView(
    logicalView : Guid
) : boolean

Parameters

  • logicalView
    Type: System.Guid

    The GUID that is assigned to the view that you want to display for the document.

Return Value

Type: System.Boolean
true if the document supports the specified view; otherwise, false.

.NET Framework Security

See Also

Reference

ModelingDocData Class

Microsoft.VisualStudio.Modeling.Shell Namespace