VsShellUtilities::OpenAsMiscellaneousFile Method (IServiceProvider^, String^, String^, Guid, String^, Guid)

 

Opens the specified miscellaneous file in the specified editor.

Namespace:   Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)

public:
static void OpenAsMiscellaneousFile(
	IServiceProvider^ provider,
	String^ path,
	String^ caption,
	Guid editor,
	String^ physicalView,
	Guid logicalView
)

Parameters

provider
Type: System::IServiceProvider^

IServiceProvider.

path
Type: System::String^

The path of the file.

caption
Type: System::String^

The name of the file.

editor
Type: System::Guid

The GUID of the editor in which to open the file.

physicalView
Type: System::String^

The name of the kind of window in which to open the editor.

logicalView
Type: System::Guid

The logical view of the editor, for example LOGVIEWID_TextView.

Return to top
Show: