Documents.Open Method
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Microsoft Internal Use Only.
Namespace: EnvDTE
Assembly: EnvDTE (in EnvDTE.dll)
Syntax
'Declaration
Function Open ( _
PathName As String, _
Kind As String, _
ReadOnly As Boolean _
) As Document
Document Open(
string PathName,
string Kind,
bool ReadOnly
)
Document^ Open(
String^ PathName,
String^ Kind,
bool ReadOnly
)
abstract Open :
PathName:string *
Kind:string *
ReadOnly:bool -> Document
function Open(
PathName : String,
Kind : String,
ReadOnly : boolean
) : Document
Parameters
PathName
Type: System.StringThe path of the file.
Kind
Type: System.StringThe kind of file.
ReadOnly
Type: System.BooleanWhether or not the file is read-only.
Return Value
Type: EnvDTE.Document
The document.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.