MonobjcMonobjc Documented Class Library
PropertyListWithDataOptionsFormatError Method (data, opt, format, error)
NamespacesMonobjc.FoundationNSPropertyListSerializationPropertyListWithDataOptionsFormatError(NSData, NSPropertyListMutabilityOptions, NSPropertyListFormat%, NSError%)

Creates and returns a property list from the specified data.

Original signature is '+ (id)propertyListWithData:(NSData *)data options:(NSPropertyListReadOptions)opt format:(NSPropertyListFormat *)format error:(NSError **)error'

Available in Mac OS X v10.6 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static Id PropertyListWithDataOptionsFormatError(
	NSData data,
	NSPropertyListMutabilityOptions opt,
	out NSPropertyListFormat format,
	out NSError error
)
Public Shared Function PropertyListWithDataOptionsFormatError ( _
	data As NSData, _
	opt As NSPropertyListMutabilityOptions, _
	<OutAttribute> ByRef format As NSPropertyListFormat, _
	<OutAttribute> ByRef error As NSError _
) As Id
public:
static Id^ PropertyListWithDataOptionsFormatError(
	NSData^ data, 
	NSPropertyListMutabilityOptions opt, 
	[OutAttribute] NSPropertyListFormat% format, 
	[OutAttribute] NSError^% error
)
Parameters
data (NSData)
A data object containing a serialized property list.
opt (NSPropertyListMutabilityOptions)
One of the “NSPropertyListMutabilityOptions” options.
format (NSPropertyListFormat%)
Upon return, contains the format that the property list was stored in.
error (NSError%)
If the method does not complete successfully, upon return contains an NSError object that describes the problem.
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)

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