IVsDataExplorerNode.CanOpenSpecificDocumentView Method
Indicates whether a document view window can be opened for the current node.
Namespace: Microsoft.VisualStudio.Data.Services
Assembly: Microsoft.VisualStudio.Data.Services (in Microsoft.VisualStudio.Data.Services.dll)
Syntax
'Declaration
Function CanOpenSpecificDocumentView ( _
logicalView As Guid _
) As Boolean
bool CanOpenSpecificDocumentView(
Guid logicalView
)
bool CanOpenSpecificDocumentView(
Guid logicalView
)
abstract CanOpenSpecificDocumentView :
logicalView:Guid -> bool
function CanOpenSpecificDocumentView(
logicalView : Guid
) : boolean
Parameters
logicalView
Type: System.GuidA GUID value for the logical view obtained from the LogicalView enumeration.
Return Value
Type: System.Boolean
true if a document view window can be opened; otherwise, false.
Remarks
This method uses the document provider service IVsDataViewDocumentProvider and calls the CanOpen method.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.