NSTextField.CreateLabel 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
CreateLabel(NSAttributedString) | |
CreateLabel(String) |
CreateLabel(NSAttributedString)
[Foundation.Export("labelWithAttributedString:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 12, ObjCRuntime.PlatformArchitecture.All, null)]
public static AppKit.NSTextField CreateLabel (Foundation.NSAttributedString attributedStringValue);
static member CreateLabel : Foundation.NSAttributedString -> AppKit.NSTextField
Parameters
- attributedStringValue
- NSAttributedString
Returns
- Attributes
Applies to
CreateLabel(String)
[Foundation.Export("labelWithString:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 12, ObjCRuntime.PlatformArchitecture.All, null)]
public static AppKit.NSTextField CreateLabel (string stringValue);
static member CreateLabel : string -> AppKit.NSTextField
Parameters
- stringValue
- String
Returns
- Attributes