NSPropertyListSerialization.DataWithPropertyList 方法

定义

重载

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

参数

plist
NSObject
error
NSError

返回

适用于

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

参数

plist
NSObject
error
NSError

返回

属性

适用于