MonobjcMonobjc Documented Class Library
InitWithPasteboard Method (pasteboard)
NamespacesMonobjc.AppKitNSSoundInitWithPasteboard(NSPasteboard)

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 BasicVisual C++
public virtual Id InitWithPasteboard(
	NSPasteboard pasteboard
)
Public Overridable Function InitWithPasteboard ( _
	pasteboard As NSPasteboard _
) As Id
public:
virtual Id^ InitWithPasteboard(
	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)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)