DataContractUtils.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.
Serializes the supplied object to the string.
public static string Serialize<T> (T obj);
static member Serialize : 'T -> string
Public Shared Function Serialize(Of T) (obj As T) As String
Type Parameters
- T
The object type.
Parameters
- obj
- T
Object to serialize
Returns
Serialized string.