Registers the receiver under the specified name.
Original signature is '- (BOOL)setName:(NSString *)aString'
Available in Mac OS X v10.0 and later.


- aString (NSString)
- The name to associate with the receiver.

YES if the receiver was successfully registered with the given name; otherwise, NO.

- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)