Editar

Compartir a través de


SFSafariToolbarItem.SetEnabled Method

Definition

Overloads

SetEnabled(Boolean)
SetEnabled(Boolean, String)

SetEnabled(Boolean)

[Foundation.Export("setEnabled:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 12, 4, ObjCRuntime.PlatformArchitecture.Arch64, null)]
public virtual void SetEnabled (bool enabled);
abstract member SetEnabled : bool -> unit
override this.SetEnabled : bool -> unit

Parameters

enabled
Boolean
Attributes

Applies to

SetEnabled(Boolean, String)

[Foundation.Export("setEnabled:withBadgeText:")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 13, ObjCRuntime.PlatformArchitecture.None, "Use 'SetEnabled (bool)' or 'SetBadgeText' instead.")]
public virtual void SetEnabled (bool enabled, string badgeText);
abstract member SetEnabled : bool * string -> unit
override this.SetEnabled : bool * string -> unit

Parameters

enabled
Boolean
badgeText
String
Attributes

Applies to