SFSafariToolbarItem.SetEnabled Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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