MonobjcMonobjc Documented Class Library
ObjectWithName Method (name)
NamespacesMonobjc.ScriptingBridgeSBElementArrayObjectWithName(NSString)

Returns the object in the array with the given name.

Original signature is '- (id)objectWithName:(NSString *)name'

Available in Mac OS X v10.5 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual Id ObjectWithName(
	NSString name
)
Public Overridable Function ObjectWithName ( _
	name As NSString _
) As Id
public:
virtual Id^ ObjectWithName(
	NSString^ name
)
Parameters
name (NSString)
The name of one of the receiver's objects.
Return Value
A reference to the designated object or nil if the object couldn’t be found.
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.ScriptingBridge (Module: Monobjc.ScriptingBridge)