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
傳回
- 屬性