NSPropertyListSerialization.DataWithPropertyList 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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
- format
- NSPropertyListFormat
- 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
- format
- NSPropertyListFormat
- options
- NSPropertyListWriteOptions
- error
- NSError
返回
- 属性