MonobjcMonobjc Documented Class Library
DescriptorWithString Method (string)
NamespacesMonobjc.FoundationNSAppleEventDescriptorDescriptorWithString(NSString)

Creates a descriptor initialized with type typeUnicodeText that stores the text from the specified string.

Original signature is '+ (NSAppleEventDescriptor *)descriptorWithString:(NSString *)string'

Available in Mac OS X v10.2 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static NSAppleEventDescriptor DescriptorWithString(
	NSString string
)
Public Shared Function DescriptorWithString ( _
	string As NSString _
) As NSAppleEventDescriptor
public:
static NSAppleEventDescriptor^ DescriptorWithString(
	NSString^ string
)
Parameters
string (NSString)
A string that specifies the text to be stored in the returned descriptor.
Return Value
A descriptor that contains the text from the specified string, 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)