ModelingDocData.SupportsLogicalView Method

Verifies whether the document supports the specified view.

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

Syntax

'Declaration
Public Overridable Function SupportsLogicalView ( _
    logicalView As Guid _
) As Boolean
'Usage
Dim instance As ModelingDocData 
Dim logicalView As Guid 
Dim returnValue As Boolean 

returnValue = instance.SupportsLogicalView(logicalView)
public virtual bool SupportsLogicalView(
    Guid logicalView
)
public:
virtual bool SupportsLogicalView(
    Guid logicalView
)
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

ModelingDocData Members

Microsoft.VisualStudio.Modeling.Shell Namespace