WKInterfaceLabel.SetText 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
SetText(NSAttributedString) | |
SetText(String) |
Sets the text of the label. |
SetText(NSAttributedString)
[Foundation.Export("setAttributedText:")]
public virtual void SetText (Foundation.NSAttributedString attributedText);
abstract member SetText : Foundation.NSAttributedString -> unit
override this.SetText : Foundation.NSAttributedString -> unit
Parameters
- Attributes
Applies to
SetText(String)
Sets the text of the label.
[Foundation.Export("setText:")]
public virtual void SetText (string text);
abstract member SetText : string -> unit
override this.SetText : string -> unit
Parameters
- Attributes