語言

SFAuthorizationView.SetAutoupdate 方法

定義

多載

名稱 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

自動更新間隔以秒數計。

屬性

適用於