DataViewDocumentProvider.Open(Int32, Guid, Object, Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Opens the specified document in the given logical view. The document may be populated with existing data and may be hidden.
public:
virtual Microsoft::VisualStudio::Shell::Interop::IVsWindowFrame ^ Open(int itemId, Guid logicalView, System::Object ^ existingDocumentData, bool doNotShowWindow);
public virtual 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
override this.Open : int * Guid * obj * bool -> Microsoft.VisualStudio.Shell.Interop.IVsWindowFrame
Public Overridable 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.