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.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.
Implements
IVsDataViewDocumentProvider.Open(Int32, Guid, Object, Boolean)
Remarks
Notes to Inheritors
The derived class should override this method.
.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.