Documents::Open Method (String^, String^, Boolean)

 

This API supports the product infrastructure and is not intended to be used directly from your code.

Microsoft Internal Use Only.

Namespace:   EnvDTE
Assembly:  EnvDTE (in EnvDTE.dll)

Document^ Open(
	String^ PathName,
	String^ Kind = "Auto",
	bool ReadOnly = false
)

Parameters

PathName
Type: System::String^

The path of the file.

Kind
Type: System::String^

The kind of file.

ReadOnly
Type: System::Boolean

Whether or not the file is read-only.

Return Value

Type: EnvDTE::Document^

The document.

Return to top
Show: