ControlDesigner.IsDirty 屬性

定義

警告

The recommended alternative is to use Tag.SetDirty() and Tag.IsDirty. http://go.microsoft.com/fwlink/?linkid=14202

取得或設定值,指出 Web 伺服器控制項是否已標記為變更。

public:
 property bool IsDirty { bool get(); void set(bool value); };
public bool IsDirty { get; set; }
[System.Obsolete("The recommended alternative is to use Tag.SetDirty() and Tag.IsDirty. http://go.microsoft.com/fwlink/?linkid=14202")]
public bool IsDirty { get; set; }
member this.IsDirty : bool with get, set
[<System.Obsolete("The recommended alternative is to use Tag.SetDirty() and Tag.IsDirty. http://go.microsoft.com/fwlink/?linkid=14202")>]
member this.IsDirty : bool with get, set
Public Property IsDirty As Boolean

屬性值

如果 Web 伺服器控制項自上次保存或載入後已被變更則為 true,否則為 false

屬性

備註

注意

IsDirty 屬性已經過時。 針對對等的控制項設計工具功能,使用 IsDirty 屬性上的 屬性和 SetDirty 方法 Tag

適用於

另請參閱