Partager via


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
IVsWindowFrame OpenSpecificDocumentView(
    Guid logicalView,
    Object existingDocumentData,
    bool doNotShowWindow
)
IVsWindowFrame^ OpenSpecificDocumentView(
    Guid logicalView, 
    Object^ existingDocumentData, 
    bool doNotShowWindow
)
abstract OpenSpecificDocumentView : 
        logicalView:Guid * 
        existingDocumentData:Object * 
        doNotShowWindow:bool -> IVsWindowFrame
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

OpenSpecificDocumentView Overload

Microsoft.VisualStudio.Data.Services Namespace

IVsWindowFrame

LogicalView