Share via


_DTE.IsOpenFile 属性

此 API 支持 .NET Framework 基础结构,不适合在代码中直接使用。

仅供 Microsoft 内部使用。

命名空间:  EnvDTE
程序集:  EnvDTE(在 EnvDTE.dll 中)

语法

声明
ReadOnly Property IsOpenFile ( _
    ViewKind As String, _
    FileName As String _
) As Boolean
bool this[
    string ViewKind,
    string FileName
] { get; }
property bool IsOpenFile[[InAttribute] String^ ViewKind, [InAttribute] String^ FileName] {
    bool get ([InAttribute] String^ ViewKind, [InAttribute] String^ FileName);
}
abstract IsOpenFile : 
        ViewKind:string * 
        FileName:string -> bool with get
JScript 不支持索引属性。

参数

  • ViewKind
    类型:String

    视图的种类。

  • FileName
    类型:String

    文件名。

属性值

类型:Boolean
如果文件已打开,则为 true;否则为 false。

.NET Framework 安全性

请参阅

参考

_DTE 接口

EnvDTE 命名空间