共用方式為


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

Definition

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.

public:
 Microsoft::VisualStudio::Shell::Interop::IVsWindowFrame ^ Open(int itemId, Guid logicalView, System::Object ^ existingDocumentData, bool doNotShowWindow);
public Microsoft.VisualStudio.Shell.Interop.IVsWindowFrame Open (int itemId, Guid logicalView, object existingDocumentData, bool doNotShowWindow);
abstract member Open : int * Guid * obj * bool -> Microsoft.VisualStudio.Shell.Interop.IVsWindowFrame
Public Function Open (itemId As Integer, logicalView As Guid, existingDocumentData As Object, doNotShowWindow As Boolean) As IVsWindowFrame

Parameters

itemId
Int32

A numerical identifier for the node in the data view.

logicalView
Guid

A unique identifier of a logical view.

existingDocumentData
Object

Any existing data to be included in the document.

doNotShowWindow
Boolean

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

Returns

An IVsWindowFrame object representing the open document window.

Applies to