SFAuthorizationView.SetAutoupdate 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 名稱 | Description |
|---|---|
| SetAutoupdate(Boolean) |
啟用或停用自動狀態更新。 |
| SetAutoupdate(Boolean, Double) |
在指定間隔內啟用或停用自動狀態更新。 |
SetAutoupdate(Boolean)
啟用或停用自動狀態更新。
[Foundation.Export("setAutoupdate:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void SetAutoupdate(bool autoupdate);
[<Foundation.Export("setAutoupdate:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member SetAutoupdate : bool -> unit
override this.SetAutoupdate : bool -> unit
參數
- autoupdate
- Boolean
true 以啟用自動更新; false 來停用它。
- 屬性
適用於
SetAutoupdate(Boolean, Double)
在指定間隔內啟用或停用自動狀態更新。
[Foundation.Export("setAutoupdate:interval:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void SetAutoupdate(bool autoupdate, double interval);
[<Foundation.Export("setAutoupdate:interval:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member SetAutoupdate : bool * double -> unit
override this.SetAutoupdate : bool * double -> unit
參數
- autoupdate
- Boolean
true 以啟用自動更新; false 來停用它。
- interval
- Double
自動更新間隔以秒數計。
- 屬性