SFAuthorizationPluginView.SetButton(SFButtonType, Boolean) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
啟用或停用指定的按鈕。
[Foundation.Export("setButton:enabled:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void SetButton(SecurityInterface.SFButtonType buttonType, bool enabled);
[<Foundation.Export("setButton:enabled:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member SetButton : SecurityInterface.SFButtonType * bool -> unit
override this.SetButton : SecurityInterface.SFButtonType * bool -> unit
參數
- buttonType
- SFButtonType
啟用或關閉的按鈕。
- enabled
- Boolean
true 啟用按鈕; false 來停用它。
- 屬性