MonobjcMonobjc Documented Class Library
DescriptorWithDescriptorTypeData Method (descriptorType, data)
NamespacesMonobjc.FoundationNSAppleEventDescriptorDescriptorWithDescriptorTypeData(UInt32, NSData)

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 BasicVisual 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
)
Parameters
descriptorType (UInt32)
The descriptor type to be set in the returned descriptor.
data (NSData)
The data, as an instance of NSData, to be set in the returned descriptor.
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)

Assembly: Monobjc.Foundation (Module: Monobjc.Foundation)