NSSound 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
NSSound(NSPasteboard) | |
NSSound(NSCoder) | |
NSSound(NSData) | |
NSSound(NSObjectFlag) | |
NSSound(IntPtr) | |
NSSound(NSUrl, Boolean) | |
NSSound(String, Boolean) |
NSSound(NSPasteboard)
[Foundation.Export("initWithPasteboard:")]
public NSSound (AppKit.NSPasteboard pasteboard);
new AppKit.NSSound : AppKit.NSPasteboard -> AppKit.NSSound
参数
- pasteboard
- NSPasteboard
- 属性
适用于
NSSound(NSCoder)
[Foundation.Export("initWithCoder:")]
[ObjCRuntime.DesignatedInitializer]
public NSSound (Foundation.NSCoder coder);
new AppKit.NSSound : Foundation.NSCoder -> AppKit.NSSound
参数
- coder
- NSCoder
- 属性
适用于
NSSound(NSData)
[Foundation.Export("initWithData:")]
public NSSound (Foundation.NSData data);
new AppKit.NSSound : Foundation.NSData -> AppKit.NSSound
参数
- data
- NSData
- 属性
适用于
NSSound(NSObjectFlag)
protected NSSound (Foundation.NSObjectFlag t);
new AppKit.NSSound : Foundation.NSObjectFlag -> AppKit.NSSound
参数
适用于
NSSound(IntPtr)
protected internal NSSound (IntPtr handle);
new AppKit.NSSound : nativeint -> AppKit.NSSound
参数
- handle
-
IntPtr
nativeint