MonobjcMonobjc Documented Class Library
PropertyWithClassCode Method (class, code)
NamespacesMonobjc.ScriptingBridgeSBObjectPropertyWithClassCode(Class, UInt32)

Returns an object of the designated scripting class representing the specified property of the receiver

Original signature is '- (SBObject *)propertyWithClass:(Class)class code:(AEKeyword)code'

Available in Mac OS X v10.5 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual SBObject PropertyWithClassCode(
	Class class,
	uint code
)
Public Overridable Function PropertyWithClassCode ( _
	class As Class, _
	code As UInteger _
) As SBObject
public:
virtual SBObject^ PropertyWithClassCode(
	Class^ class, 
	unsigned int code
)
Parameters
class (Class)
The SBObject subclass with which to instantiate the object.
code (UInt32)
A four-character code that uniquely identifies a property of the receiver.
Return Value
An instance of the designated class that represents the receiver’s property identified by code.
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)