MonobjcMonobjc Documented Class Library
DictionaryFromTXTRecordData Method (txtData)
NamespacesMonobjc.FoundationNSNetServiceDictionaryFromTXTRecordData(NSData)

Returns a dictionary representing a TXT record given as an NSData object.

Original signature is '+ (NSDictionary *)dictionaryFromTXTRecordData:(NSData *)txtData'

Available in Mac OS X v10.4 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static NSDictionary DictionaryFromTXTRecordData(
	NSData txtData
)
Public Shared Function DictionaryFromTXTRecordData ( _
	txtData As NSData _
) As NSDictionary
public:
static NSDictionary^ DictionaryFromTXTRecordData(
	NSData^ txtData
)
Parameters
txtData (NSData)
A data object encoding a TXT record.
Return Value
A dictionary representing txtData. The dictionary’s keys are NSString objects using UTF8 encoding. The values associated with all the dictionary’s keys are NSData objects that encapsulate strings or data. Fails an assertion if txtData cannot be represented as an NSDictionary object.
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)