Share via


NSPropertyListSerialization.DataWithPropertyList Method

Definition

Overloads

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 * NSError -> Foundation.NSData

Parameters

plist
NSObject
error
NSError

Returns

Applies to

DataWithPropertyList(NSObject, NSPropertyListFormat, NSPropertyListWriteOptions, NSError)

[Foundation.Export("dataWithPropertyList:format:options:error:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static Foundation.NSData DataWithPropertyList(Foundation.NSObject plist, Foundation.NSPropertyListFormat format, Foundation.NSPropertyListWriteOptions options, out Foundation.NSError error);
[<Foundation.Export("dataWithPropertyList:format:options:error:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member DataWithPropertyList : Foundation.NSObject * Foundation.NSPropertyListFormat * Foundation.NSPropertyListWriteOptions * NSError -> Foundation.NSData

Parameters

plist
NSObject
error
NSError

Returns

Attributes

Applies to