MonobjcMonobjc Documented Class Library
SetName Method (soundName)
NamespacesMonobjc.AppKitNSSoundSetName(NSString)

Registers the receiver under a given name.

Original signature is '- (BOOL)setName:(NSString *)soundName'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual bool SetName(
	NSString soundName
)
Public Overridable Function SetName ( _
	soundName As NSString _
) As Boolean
public:
virtual bool SetName(
	NSString^ soundName
)
Parameters
soundName (NSString)
Name to assign the receiver. The name must be unused by other NSSound instances.
Return Value
YES when successful; NO otherwise.
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)