Share via


DTEClass.IsOpenFile 属性

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

有关此属性的更多信息,请参考 IsOpenFile

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

语法

声明
Public Overridable ReadOnly Property IsOpenFile ( _
    ViewKind As String, _
    FileName As String _
) As Boolean
public virtual bool this[
    string ViewKind,
    string FileName
] { get; }
public:
virtual 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 
override IsOpenFile : 
        ViewKind:string * 
        FileName:string -> bool with get
JScript 不支持索引属性。

参数

  • ViewKind
    类型:String

    视图的种类。

  • FileName
    类型:String

    文件名

属性值

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

实现

_DTE.IsOpenFile

.NET Framework 安全性

请参阅

参考

DTEClass 类

EnvDTE 命名空间