IVsDataExplorerNode.OpenSpecificDocumentView Method (Guid, Object, Boolean)
Opens the current node as a document window frame in the Visual Studio environment.
Namespace: Microsoft.VisualStudio.Data.Services
Assembly: Microsoft.VisualStudio.Data.Services (in Microsoft.VisualStudio.Data.Services.dll)
Syntax
'Declaration
Function OpenSpecificDocumentView ( _
logicalView As Guid, _
existingDocumentData As Object, _
doNotShowWindow As Boolean _
) As IVsWindowFrame
IVsWindowFrame OpenSpecificDocumentView(
Guid logicalView,
Object existingDocumentData,
bool doNotShowWindow
)
IVsWindowFrame^ OpenSpecificDocumentView(
Guid logicalView,
Object^ existingDocumentData,
bool doNotShowWindow
)
abstract OpenSpecificDocumentView :
logicalView:Guid *
existingDocumentData:Object *
doNotShowWindow:bool -> IVsWindowFrame
function OpenSpecificDocumentView(
logicalView : Guid,
existingDocumentData : Object,
doNotShowWindow : boolean
) : IVsWindowFrame
Parameters
logicalView
Type: System.GuidA GUID value for the logical view obtained from the LogicalView enumeration.
existingDocumentData
Type: System.ObjectObject containing any existing data in the document.
doNotShowWindow
Type: System.BooleanA Boolean value indicating whether to hide the open window (true) or not (false).
Return Value
Type: Microsoft.VisualStudio.Shell.Interop.IVsWindowFrame
An IVsWindowFrame object representing the opened document window.
Remarks
This method uses the document provider service IVsDataViewDocumentProvider to obtain the document view and calls the Open 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.
See Also
Reference
OpenSpecificDocumentView Overload