Returns a new object specifier for an Apple event descriptor.
Original signature is '+ (NSScriptObjectSpecifier *)objectSpecifierWithDescriptor:(NSAppleEventDescriptor *)descriptor'
Available in Mac OS X v10.5 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public static NSScriptObjectSpecifier ObjectSpecifierWithDescriptor( NSAppleEventDescriptor descriptor )
Public Shared Function ObjectSpecifierWithDescriptor ( _ descriptor As NSAppleEventDescriptor _ ) As NSScriptObjectSpecifier
public: static NSScriptObjectSpecifier^ ObjectSpecifierWithDescriptor( NSAppleEventDescriptor^ descriptor )
Parameters
- descriptor (NSAppleEventDescriptor)
- An Apple event descriptor. The descriptor must have the type typeObjectSpecifier.
Return Value
An object specifier, or nil if an error occurs.
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)