你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

Utilities.Serialize<T>(T) Method

Definition

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.

Applies to