更新:2007 年 11 月
此 API 支持 .NET Framework 基础结构,不适合在代码中直接使用。
仅由 Microsoft 内部使用。
命名空间: EnvDTE
程序集: EnvDTE(在 EnvDTE.dll 中)
语法
声明
Function Open ( _
PathName As String, _
Kind As String, _
ReadOnly As Boolean _
) As Document
用法
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
参数
- PathName
类型:System.String
- Kind
类型:System.String
- ReadOnly
类型:System.Boolean
返回值
权限
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。