Utilities.Serialize<T>(T) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Serialize the T as xml using DataContract Serializer
public static string Serialize<T> (T value);
static member Serialize : 'T -> string
Public Function Serialize(Of T) (value As T) As String
Type Parameters
- T
the type name
Parameters
- value
- T
the T object.
Returns
the serialized object.