DataViewDocumentProvider.Open Method

Opens the specified document in the given logical view. The document may be populated with existing data and may be hidden.

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

Syntax

'Declaration
Public Overridable Function Open ( _
    itemId As Integer, _
    logicalView As Guid, _
    existingDocumentData As Object, _
    doNotShowWindow As Boolean _
) As IVsWindowFrame
'Usage
Dim instance As DataViewDocumentProvider 
Dim itemId As Integer 
Dim logicalView As Guid 
Dim existingDocumentData As Object 
Dim doNotShowWindow As Boolean 
Dim returnValue As IVsWindowFrame 

returnValue = instance.Open(itemId, logicalView, _
    existingDocumentData, doNotShowWindow)
public virtual IVsWindowFrame Open(
    int itemId,
    Guid logicalView,
    Object existingDocumentData,
    bool doNotShowWindow
)
public:
virtual IVsWindowFrame^ Open(
    int itemId, 
    Guid logicalView, 
    Object^ existingDocumentData, 
    bool doNotShowWindow
)
public function Open(
    itemId : int, 
    logicalView : Guid, 
    existingDocumentData : Object, 
    doNotShowWindow : boolean
) : IVsWindowFrame

Parameters

  • itemId
    Type: System.Int32

    A numerical identifier for the node in the data view.

  • logicalView
    Type: System.Guid

    A unique identifier of a logical view.

  • existingDocumentData
    Type: System.Object

    Any existing data to be included in the document.

  • doNotShowWindow
    Type: System.Boolean

    A Boolean value specifying whether to hide the document window (true) or not (false).

Return Value

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

Implements

IVsDataViewDocumentProvider.Open(Int32, Guid, Object, Boolean)

Remarks

Notes to Inheritors:

The derived class should override this method.

.NET Framework Security

See Also

Reference

DataViewDocumentProvider Class

DataViewDocumentProvider Members

Microsoft.VisualStudio.Data.Framework Namespace