MonobjcMonobjc Documented Class Library
InitWithDescriptorTypeData Method (descriptorType, data)
NamespacesMonobjc.FoundationNSAppleEventDescriptorInitWithDescriptorTypeData(UInt32, NSData)

Initializes a newly allocated instance as a descriptor with the specified descriptor type and data (from an instance of NSData).

Original signature is '- (id)initWithDescriptorType:(DescType)descriptorType data:(NSData *)data'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual Id InitWithDescriptorTypeData(
	uint descriptorType,
	NSData data
)
Public Overridable Function InitWithDescriptorTypeData ( _
	descriptorType As UInteger, _
	data As NSData _
) As Id
public:
virtual Id^ InitWithDescriptorTypeData(
	unsigned int descriptorType, 
	NSData^ data
)
Parameters
descriptorType (UInt32)
The descriptor type to be set in the initialized descriptor.
data (NSData)
The data to be set in the initialized descriptor.
Return Value
An instance of NSAppleEventDescriptor with the specified type and data. Returns 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)