NSTextField.CreateLabel 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
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
傳回
- 屬性