_DTE.IsOpenFile 屬性

這個 API 支援 .NET Framework 基礎結構,但您不可以直接在程式碼中使用它。

僅限 Microsoft 內部使用。

命名空間:  EnvDTE
組件:  EnvDTE (在 EnvDTE.dll 中)

語法

'宣告
ReadOnly Property IsOpenFile ( _
    ViewKind As String, _
    FileName As String _
) As Boolean
    Get
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 : bool
JScript 不支援索引屬性。

參數

屬性值

型別:System.Boolean
如果開啟了檔案,則為 true,否則為 false。

.NET Framework 安全性

請參閱

參考

_DTE 介面

EnvDTE 命名空間