Compartir a través de


Documents.Open(String, String, Boolean) Method

Definition

Microsoft Internal Use Only.

EnvDTE::Document Open(std::wstring const & PathName, std::wstring const & Kind = "Auto", bool ReadOnly = false);
[System.Runtime.InteropServices.DispId(7)]
[System.Runtime.InteropServices.TypeLibFunc(64)]
public EnvDTE.Document Open (string PathName, string Kind = "Auto", bool ReadOnly = false);
[System.Runtime.InteropServices.DispId(7)]
public EnvDTE.Document Open (string PathName, string Kind = "Auto", bool ReadOnly = false);
[<System.Runtime.InteropServices.DispId(7)>]
[<System.Runtime.InteropServices.TypeLibFunc(64)>]
abstract member Open : string * string * bool -> EnvDTE.Document
[<System.Runtime.InteropServices.DispId(7)>]
abstract member Open : string * string * bool -> EnvDTE.Document
Public Function Open (PathName As String, Optional Kind As String = "Auto", Optional ReadOnly As Boolean = false) As Document

Parameters

PathName
String

The path of the file.

Kind
String

The kind of file.

ReadOnly
Boolean

Whether or not the file is read-only.

Returns

The document.

Attributes

Applies to