Returns a descriptor obtained by coercing the receiver to the specified type.
Original signature is '- (NSAppleEventDescriptor *)coerceToDescriptorType:(DescType)descriptorType'
Available in Mac OS X v10.0 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public virtual NSAppleEventDescriptor CoerceToDescriptorType( uint descriptorType )
Public Overridable Function CoerceToDescriptorType ( _ descriptorType As UInteger _ ) As NSAppleEventDescriptor
public: virtual NSAppleEventDescriptor^ CoerceToDescriptorType( unsigned int descriptorType )
Parameters
- descriptorType (UInt32)
- The descriptor type to coerce the receiver to.
Return Value
A descriptor of the specified type, 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)