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
'Declaration
Function Open ( _
itemId As Integer, _
logicalView As Guid, _
existingDocumentData As Object, _
doNotShowWindow As Boolean _
) As IVsWindowFrame
'Usage
Dim instance As IVsDataViewDocumentProvider
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)
IVsWindowFrame Open(
int itemId,
Guid logicalView,
Object existingDocumentData,
bool doNotShowWindow
)
IVsWindowFrame^ Open(
int itemId,
Guid logicalView,
Object^ existingDocumentData,
bool doNotShowWindow
)
function Open(
itemId : int,
logicalView : Guid,
existingDocumentData : Object,
doNotShowWindow : boolean
) : IVsWindowFrame
Parameters
itemId
Type: System.Int32A numerical identifier for the node in the data view.
logicalView
Type: System.GuidA unique identifier of a logical view.
existingDocumentData
Type: System.ObjectAny existing data to be included in the document.
doNotShowWindow
Type: System.BooleanA 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
IVsDataViewDocumentProvider Interface
IVsDataViewDocumentProvider Members
Microsoft.VisualStudio.Data.Services.SupportEntities Namespace