MonobjcMonobjc Documented Class Library
ScriptingValueForSpecifier Method (objectSpecifier)

Given an object specifier, returns the specified object or objects in the receiving container.

Original signature is '- (id)scriptingValueForSpecifier:(NSScriptObjectSpecifier *)objectSpecifier'

Available in Mac OS X v10.5 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual Id ScriptingValueForSpecifier(
	NSScriptObjectSpecifier objectSpecifier
Public Overridable Function ScriptingValueForSpecifier ( _
	objectSpecifier As NSScriptObjectSpecifier _
) As Id
virtual Id^ ScriptingValueForSpecifier(
	NSScriptObjectSpecifier^ objectSpecifier
objectSpecifier (NSScriptObjectSpecifier)
An object specifier to be evaluated.
Return Value
The specified object or objects in the receiving container. This method might successfully return an object, an array of objects, or nil, depending on the kind of object specifier. Because nil is a valid return value, failure is signaled by invoking the object specifier’s setEvaluationError: method before returning.
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.Foundation (Module: Monobjc.Foundation)