Bewerken

Delen via


NSSound Constructors

Definition

Overloads

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

Parameters

pasteboard
NSPasteboard
Attributes

Applies to

NSSound(NSCoder)

[Foundation.Export("initWithCoder:")]
[ObjCRuntime.DesignatedInitializer]
public NSSound (Foundation.NSCoder coder);
new AppKit.NSSound : Foundation.NSCoder -> AppKit.NSSound

Parameters

coder
NSCoder
Attributes

Applies to

NSSound(NSData)

[Foundation.Export("initWithData:")]
public NSSound (Foundation.NSData data);
new AppKit.NSSound : Foundation.NSData -> AppKit.NSSound

Parameters

data
NSData
Attributes

Applies to

NSSound(NSObjectFlag)

protected NSSound (Foundation.NSObjectFlag t);
new AppKit.NSSound : Foundation.NSObjectFlag -> AppKit.NSSound

Parameters

Applies to

NSSound(IntPtr)

protected internal NSSound (IntPtr handle);
new AppKit.NSSound : nativeint -> AppKit.NSSound

Parameters

handle
IntPtr

nativeint

Applies to

NSSound(NSUrl, Boolean)

[Foundation.Export("initWithContentsOfURL:byReference:")]
public NSSound (Foundation.NSUrl url, bool byRef);
new AppKit.NSSound : Foundation.NSUrl * bool -> AppKit.NSSound

Parameters

url
NSUrl
byRef
Boolean
Attributes

Applies to

NSSound(String, Boolean)

[Foundation.Export("initWithContentsOfFile:byReference:")]
public NSSound (string path, bool byRef);
new AppKit.NSSound : string * bool -> AppKit.NSSound

Parameters

path
String
byRef
Boolean
Attributes

Applies to