NSPropertyListSerialization.DataWithPropertyList Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
DataWithPropertyList(NSObject, NSPropertyListFormat, NSError) | |
DataWithPropertyList(NSObject, NSPropertyListFormat, NSPropertyListWriteOptions, NSError) |
DataWithPropertyList(NSObject, NSPropertyListFormat, NSError)
public static Foundation.NSData DataWithPropertyList (Foundation.NSObject plist, Foundation.NSPropertyListFormat format, out Foundation.NSError error);
static member DataWithPropertyList : Foundation.NSObject * Foundation.NSPropertyListFormat * -> Foundation.NSData
Parameters
- plist
- NSObject
- format
- NSPropertyListFormat
- error
- NSError
Returns
Applies to
DataWithPropertyList(NSObject, NSPropertyListFormat, NSPropertyListWriteOptions, NSError)
[Foundation.Export("dataWithPropertyList:format:options:error:")]
public static Foundation.NSData DataWithPropertyList (Foundation.NSObject plist, Foundation.NSPropertyListFormat format, Foundation.NSPropertyListWriteOptions options, out Foundation.NSError error);
static member DataWithPropertyList : Foundation.NSObject * Foundation.NSPropertyListFormat * Foundation.NSPropertyListWriteOptions * -> Foundation.NSData
Parameters
- plist
- NSObject
- format
- NSPropertyListFormat
- options
- NSPropertyListWriteOptions
- error
- NSError
Returns
- Attributes