Creates a descriptor initialized with the specified event type that stores the specified data (from an instance of NSData).
Original signature is '+ (NSAppleEventDescriptor *)descriptorWithDescriptorType:(DescType)descriptorType data:(NSData *)data'
Available in Mac OS X v10.0 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public static NSAppleEventDescriptor DescriptorWithDescriptorTypeData( uint descriptorType, NSData data )
Public Shared Function DescriptorWithDescriptorTypeData ( _ descriptorType As UInteger, _ data As NSData _ ) As NSAppleEventDescriptor
public: static NSAppleEventDescriptor^ DescriptorWithDescriptorTypeData( unsigned int descriptorType, NSData^ data )
Return Value
A descriptor with the specified type and data, 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)