ProjectCollection.DisableMarkDirty 属性

定义

获取或设置一个标志,该标志确定是否对此集合中的项目临时禁用 MarkDirty()Gets or sets a flag that determines whether MarkDirty() is temporarily disabled on projects in this collection. 例如,可以通过此标记来设置全局属性,而不必将项目标记为已更新(从而导致重新计算)。This allows, for example, a global properties to be set without projects getting marked dirty for reevaluation as a consequence.

public:
 property bool DisableMarkDirty { bool get(); void set(bool value); };
public bool DisableMarkDirty { get; set; }
member this.DisableMarkDirty : bool with get, set
Public Property DisableMarkDirty As Boolean

属性值

返回一个标志,该标志确定是否临时禁用 MarkDirtyReturns a flag that determines whether MarkDirty is temporarily disabled.

适用于