VsShellUtilities::OpenDocumentWithSpecificEditor Method (IServiceProvider^, String^, Guid, Guid)
Visual Studio 2015
Opens the specified document by using the specified editor.
Assembly: Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)
public: static IVsWindowFrame^ OpenDocumentWithSpecificEditor( IServiceProvider^ provider, String^ fullPath, Guid editorType, Guid logicalView )
Parameters
- provider
- Type: System::IServiceProvider^
- fullPath
-
Type:
System::String^
The absolute path of the document.
- editorType
-
Type:
System::Guid
The GUID of the type of editor to use.
- logicalView
-
Type:
System::Guid
The GUID of the logical view in which to open the document.
Return Value
Type: Microsoft.VisualStudio.Shell.Interop::IVsWindowFrame^The IVsWindowFrame interface of the window in which the document is opened.
Show: