VsShellUtilities::OpenDocument Method (IServiceProvider^, String^)

 

Opens the specified document.

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

public:
static void OpenDocument(
	IServiceProvider^ provider,
	String^ path
)

Parameters

provider
Type: System::IServiceProvider^

IServiceProvider.

path
Type: System::String^

The path of the document.

Return to top
Show: