Freigeben über


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
public virtual IVsWindowFrame Open(
    int itemId,
    Guid logicalView,
    Object existingDocumentData,
    bool doNotShowWindow
)
public:
virtual IVsWindowFrame^ Open(
    int itemId, 
    Guid logicalView, 
    Object^ existingDocumentData, 
    bool doNotShowWindow
)
abstract Open : 
        itemId:int * 
        logicalView:Guid * 
        existingDocumentData:Object * 
        doNotShowWindow:bool -> IVsWindowFrame 
override Open : 
        itemId:int * 
        logicalView:Guid * 
        existingDocumentData:Object * 
        doNotShowWindow:bool -> IVsWindowFrame 
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

Microsoft.VisualStudio.Data.Framework Namespace