NSJsonSerialization.Serialize Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Overload
Serialize(NSObject, NSJsonWritingOptions, NSError) | |
Serialize(NSObject, NSOutputStream, NSJsonWritingOptions, NSError) |
Serialize(NSObject, NSJsonWritingOptions, NSError)
[Foundation.Export("dataWithJSONObject:options:error:")]
public static Foundation.NSData Serialize (Foundation.NSObject obj, Foundation.NSJsonWritingOptions opt, out Foundation.NSError error);
static member Serialize : Foundation.NSObject * Foundation.NSJsonWritingOptions * -> Foundation.NSData
Parametri
- obj
- NSObject
- error
- NSError
Restituisce
- Attributi
Si applica a
Serialize(NSObject, NSOutputStream, NSJsonWritingOptions, NSError)
[Foundation.Export("writeJSONObject:toStream:options:error:")]
public static nint Serialize (Foundation.NSObject obj, Foundation.NSOutputStream stream, Foundation.NSJsonWritingOptions opt, out Foundation.NSError error);
static member Serialize : Foundation.NSObject * Foundation.NSOutputStream * Foundation.NSJsonWritingOptions * -> nint
Parametri
- obj
- NSObject
- stream
- NSOutputStream
- error
- NSError
Restituisce
System.System.IntPtr
System.nativeint
- Attributi