다음을 통해 공유


IVsDataViewDocumentProvider.Open Method

When implemented by a class, 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.Services.SupportEntities
Assembly:  Microsoft.VisualStudio.Data.Services (in Microsoft.VisualStudio.Data.Services.dll)

Syntax

‘선언
Function Open ( _
    itemId As Integer, _
    logicalView As Guid, _
    existingDocumentData As Object, _
    doNotShowWindow As Boolean _
) As IVsWindowFrame
IVsWindowFrame Open(
    int itemId,
    Guid logicalView,
    Object existingDocumentData,
    bool doNotShowWindow
)
IVsWindowFrame^ Open(
    int itemId, 
    Guid logicalView, 
    Object^ existingDocumentData, 
    bool doNotShowWindow
)
abstract Open : 
        itemId:int * 
        logicalView:Guid * 
        existingDocumentData:Object * 
        doNotShowWindow:bool -> IVsWindowFrame 
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.

.NET Framework Security

See Also

Reference

IVsDataViewDocumentProvider Interface

Microsoft.VisualStudio.Data.Services.SupportEntities Namespace