Creates a descriptor initialized with type typeType that stores the specified type value.
Original signature is '+ (NSAppleEventDescriptor *)descriptorWithTypeCode:(OSType)typeCode'
Available in Mac OS X v10.2 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public static NSAppleEventDescriptor DescriptorWithTypeCode( uint typeCode )
Public Shared Function DescriptorWithTypeCode ( _ typeCode As UInteger _ ) As NSAppleEventDescriptor
public: static NSAppleEventDescriptor^ DescriptorWithTypeCode( unsigned int typeCode )
Parameters
- typeCode (UInt32)
- The type value to be set in the returned descriptor.
Return Value
A descriptor with 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)