NSTextField.CreateLabel 方法

定义

重载

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

参数

attributedStringValue
NSAttributedString

返回

属性

适用于

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

参数

stringValue
String

返回

属性

适用于