Initializes the receiver with data from a pasteboard. The pasteboard should contain a type returned by soundUnfilteredPasteboardTypes. NSSound expects the data to have a proper magic number, sound header, and data for the formats it supports.
Original signature is '- (id)initWithPasteboard:(NSPasteboard *)pasteboard'
Available in Mac OS X v10.0 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public NSSound( NSPasteboard pasteboard )
Public Sub New ( _ pasteboard As NSPasteboard _ )
public: NSSound( NSPasteboard^ pasteboard )
Parameters
- pasteboard (NSPasteboard)
- The pasteboard containing the audio data with which the receiver is to be initialized. The pasteboard must contain a type returned by soundUnfilteredPasteboardTypes. The contained data must have a proper magic number, sound header, and data for the formats the NSSound class supports.
Return Value
Initialized NSSound instance.
Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)