Initializes a newly allocated instance as a descriptor with the specified descriptor type and data (from an arbitrary sequence of bytes and a length count).
Original signature is '- (id)initWithDescriptorType:(DescType)descriptorType bytes:(const void *)bytes length:(NSUInteger)byteCount'
Available in Mac OS X v10.2 and later.

C# | Visual Basic | Visual C++ |
public virtual Id InitWithDescriptorTypeBytesLength( uint descriptorType, IntPtr bytes, NSUInteger byteCount )
Public Overridable Function InitWithDescriptorTypeBytesLength ( _ descriptorType As UInteger, _ bytes As IntPtr, _ byteCount As NSUInteger _ ) As Id
public: virtual Id^ InitWithDescriptorTypeBytesLength( unsigned int descriptorType, IntPtr bytes, NSUInteger byteCount )

- descriptorType (UInt32)
- The descriptor type to be set in the returned descriptor.
- bytes (IntPtr)
- The data, as a sequence of bytes, to be set in the returned descriptor.
- byteCount (NSUInteger)
- The length, in bytes, of the data to be set in the returned descriptor.

An instance of NSAppleEventDescriptor with the specified type and data. Returns nil if an error occurs.

- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)