MonobjcMonobjc Documented Class Library
SetName Method (aString)
NamespacesMonobjc.AppKitNSImageSetName(NSString)

Registers the receiver under the specified name.

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

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual bool SetName(
	NSString aString
)
Public Overridable Function SetName ( _
	aString As NSString _
) As Boolean
public:
virtual bool SetName(
	NSString^ aString
)
Parameters
aString (NSString)
The name to associate with the receiver.
Return Value
YES if the receiver was successfully registered with the given name; otherwise, NO.
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)