ControlDesigner.IsDirty 属性

定义

警告

此 API 现已过时。

获取或设置一个值,该值指示 Web 服务器控件是否已被标记为已更改。Gets or sets a value indicating whether the Web server control has been marked as changed.

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
Public Property IsDirty As Boolean

属性值

如果 Web 服务器控件自上次保持或加载后已更改,则为 true;否则为 falsetrue, if the Web server control has changed since it was last persisted or loaded; otherwise, false.

属性

注解

备注

IsDirty 属性已过时。The IsDirty property is obsolete. 对于等效的控件设计器功能,请使用 Tag 属性的 IsDirty 属性和 SetDirty 方法。Use the IsDirty property and the SetDirty method on the Tag property for equivalent control designer functionality.

适用于

另请参阅