MonobjcMonobjc Documented Class Library
PropertyListFromDataMutabilityOptionFormatErrorDescription Method (data, opt, format, errorString)
NamespacesMonobjc.FoundationNSPropertyListSerializationPropertyListFromDataMutabilityOptionFormatErrorDescription(NSData, NSPropertyListMutabilityOptions, NSPropertyListFormat%, NSString%)

Returns a property list object corresponding to the representation in a given NSData object.

Original signature is '+ (id)propertyListFromData:(NSData *)data mutabilityOption:(NSPropertyListMutabilityOptions)opt format:(NSPropertyListFormat *)format errorDescription:(NSString **)errorString'

Available in Mac OS X v10.2 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static Id PropertyListFromDataMutabilityOptionFormatErrorDescription(
	NSData data,
	NSPropertyListMutabilityOptions opt,
	out NSPropertyListFormat format,
	out NSString errorString
)
Public Shared Function PropertyListFromDataMutabilityOptionFormatErrorDescription ( _
	data As NSData, _
	opt As NSPropertyListMutabilityOptions, _
	<OutAttribute> ByRef format As NSPropertyListFormat, _
	<OutAttribute> ByRef errorString As NSString _
) As Id
public:
static Id^ PropertyListFromDataMutabilityOptionFormatErrorDescription(
	NSData^ data, 
	NSPropertyListMutabilityOptions opt, 
	[OutAttribute] NSPropertyListFormat% format, 
	[OutAttribute] NSString^% errorString
)
Parameters
data (NSData)
A data object containing a serialized property list.
opt (NSPropertyListMutabilityOptions)
The opt parameter is currently unused and should be set to 0.
format (NSPropertyListFormat%)
If the property list is valid, upon return contains the format. format can be NULL, in which case the property list format is not returned. Possible values are described in NSPropertyListFormat.
errorString (NSString%)
Upon return, if the conversion is successful, errorString is nil. If the conversion fails, upon return contains a string describing the nature of the error. If you receive a string, you must release it.
Return Value
A property list object corresponding to the representation in data. If data is not in a supported format, returns nil.
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)