命名空间: Microsoft.VisualStudio.Text
程序集: Microsoft.VisualStudio.Text.Data(在 Microsoft.VisualStudio.Text.Data.dll 中)
语法
声明
ReadOnly Property IsDirty As Boolean
bool IsDirty { get; }
property bool IsDirty {
bool get ();
}
abstract IsDirty : bool with get
function get IsDirty () : boolean
属性值
类型:Boolean
true ,否则为错误, false。
备注
如果 true, TextBuffer 内容已经更改,则文件最近加载或已保存了。 如果 false, TextBuffer 目录未更改,则文件最近加载或已保存了。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。