MonobjcMonobjc Documented Class Library
SoundNamed Method (soundName)
NamespacesMonobjc.AppKitNSSoundSoundNamed(NSString)

Returns the NSSound instance associated with a given name.

Original signature is '+ (id)soundNamed:(NSString *)soundName'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static NSSound SoundNamed(
	NSString soundName
)
Public Shared Function SoundNamed ( _
	soundName As NSString _
) As NSSound
public:
static NSSound^ SoundNamed(
	NSString^ soundName
)
Parameters
soundName (NSString)
Name that identifies sound data.
Return Value
NSSound instance initialized with the sound data identified by soundName.
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)