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