Class Serializer
Represents a class for serialization
Inheritance
System.Object
Serializer
Namespace: Syncfusion.UI.Xaml.Controls.Serialization
Assembly: Syncfusion.SfShared.UWP.dll
Syntax
public static class Serializer : Object
Methods
DeSerializeObject<T>(StorageFile)
Deserializes the object
Declaration
public static Task<T> DeSerializeObject<T>(StorageFile file)
Parameters
Type | Name | Description |
---|---|---|
Windows.Storage.StorageFile | file | storage file |
Returns
Type |
---|
System.Threading.Tasks.Task<T> |
Type Parameters
Name | Description |
---|---|
T | Method type |
SerializeObject<T>(T, StorageFile)
Serializes the object
Declaration
public static Task SerializeObject<T>(T serializableObject, StorageFile file)
Parameters
Type | Name | Description |
---|---|---|
T | serializableObject | serializable object |
Windows.Storage.StorageFile | file | storage file |
Returns
Type |
---|
System.Threading.Tasks.Task |
Type Parameters
Name | Description |
---|---|
T | Method type |