WKInterfaceSwitch.SetEnabled(Boolean) 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.
Enables or disable the switch.
[Foundation.Export("setEnabled:")]
public virtual void SetEnabled (bool enabled);
abstract member SetEnabled : bool -> unit
override this.SetEnabled : bool -> unit
Parameters
- enabled
- Boolean
true
if the switch is enabled.
- Attributes