IVsDataExplorerNode.OpenSpecificDocumentView Method (Guid, Object, Boolean)

Opens the current node as a document window frame in the Visual Studio environment.

Namespace:  Microsoft.VisualStudio.Data.Services
Assembly:  Microsoft.VisualStudio.Data.Services (in Microsoft.VisualStudio.Data.Services.dll)

Syntax

'Declaration
Function OpenSpecificDocumentView ( _
    logicalView As Guid, _
    existingDocumentData As Object, _
    doNotShowWindow As Boolean _
) As IVsWindowFrame
'Usage
Dim instance As IVsDataExplorerNode 
Dim logicalView As Guid 
Dim existingDocumentData As Object 
Dim doNotShowWindow As Boolean 
Dim returnValue As IVsWindowFrame 

returnValue = instance.OpenSpecificDocumentView(logicalView, _
    existingDocumentData, doNotShowWindow)
IVsWindowFrame OpenSpecificDocumentView(
    Guid logicalView,
    Object existingDocumentData,
    bool doNotShowWindow
)
IVsWindowFrame^ OpenSpecificDocumentView(
    Guid logicalView, 
    Object^ existingDocumentData, 
    bool doNotShowWindow
)
function OpenSpecificDocumentView(
    logicalView : Guid, 
    existingDocumentData : Object, 
    doNotShowWindow : boolean
) : IVsWindowFrame

Parameters

  • existingDocumentData
    Type: System.Object

    Object containing any existing data in the document.

  • doNotShowWindow
    Type: System.Boolean

    A Boolean value indicating whether to hide the open window (true) or not (false).

Return Value

Type: Microsoft.VisualStudio.Shell.Interop.IVsWindowFrame
An IVsWindowFrame object representing the opened document window.

Remarks

This method uses the document provider service IVsDataViewDocumentProvider to obtain the document view and calls the Open method.

.NET Framework Security

See Also

Reference

IVsDataExplorerNode Interface

IVsDataExplorerNode Members

OpenSpecificDocumentView Overload

Microsoft.VisualStudio.Data.Services Namespace

IVsWindowFrame

LogicalView