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
'Usage
Dim instance As Documents
Dim PathName As String
Dim Kind As String
Dim ReadOnly As Boolean
Dim returnValue As Document
returnValue = instance.Open(PathName, _
Kind, ReadOnly)
Document Open(
string PathName,
string Kind,
bool ReadOnly
)
Document^ Open(
String^ PathName,
String^ Kind,
bool ReadOnly
)
function Open(
PathName : String,
Kind : String,
ReadOnly : boolean
) : Document
Parameters
- PathName
Type: System.String
- Kind
Type: System.String
- ReadOnly
Type: System.Boolean
Return Value
Type: EnvDTE.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.