MonobjcMonobjc Documented Class Library
InitWithProperties Method (properties)
NamespacesMonobjc.ScriptingBridgeSBObjectInitWithProperties(NSDictionary)

Returns an instance of an SBObject subclass initialized with the specified properties.

Original signature is '- (id)initWithProperties:(NSDictionary *)properties'

Available in Mac OS X v10.5 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual Id InitWithProperties(
	NSDictionary properties
)
Public Overridable Function InitWithProperties ( _
	properties As NSDictionary _
) As Id
public:
virtual Id^ InitWithProperties(
	NSDictionary^ properties
)
Parameters
properties (NSDictionary)
A dictionary with keys specifying the names of properties (that is, attributes or to-one relationships) and the values for those properties.
Return Value
An SBObject object or nil if the object could not be initialized.
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)