編輯

共用方式為


NSPropertyListSerialization.WritePropertyList Method

Definition

Overloads

WritePropertyList(NSObject, NSOutputStream, NSPropertyListFormat, NSError)
WritePropertyList(NSObject, NSOutputStream, NSPropertyListFormat, NSPropertyListWriteOptions, NSError)

WritePropertyList(NSObject, NSOutputStream, NSPropertyListFormat, NSError)

public static nint WritePropertyList (Foundation.NSObject plist, Foundation.NSOutputStream stream, Foundation.NSPropertyListFormat format, out Foundation.NSError error);
static member WritePropertyList : Foundation.NSObject * Foundation.NSOutputStream * Foundation.NSPropertyListFormat *  -> nint

Parameters

plist
NSObject
error
NSError

Returns

System.System.IntPtr System.nativeint

Applies to

WritePropertyList(NSObject, NSOutputStream, NSPropertyListFormat, NSPropertyListWriteOptions, NSError)

[Foundation.Export("writePropertyList:toStream:format:options:error:")]
public static nint WritePropertyList (Foundation.NSObject plist, Foundation.NSOutputStream stream, Foundation.NSPropertyListFormat format, Foundation.NSPropertyListWriteOptions options, out Foundation.NSError error);
static member WritePropertyList : Foundation.NSObject * Foundation.NSOutputStream * Foundation.NSPropertyListFormat * Foundation.NSPropertyListWriteOptions *  -> nint

Parameters

plist
NSObject
error
NSError

Returns

System.System.IntPtr System.nativeint
Attributes

Applies to