Compartilhar via


GeneralFunctions.Serialize Method (TType)

Serializes the object passed in returning an xml string.

Namespace: Microsoft.Uii.Common
Assembly: Microsoft.Uii.Common (in Microsoft.Uii.Common.dll)

Usage

'Usage
Dim serializeObject As TType
Dim returnValue As String

returnValue = GeneralFunctions.Serialize(serializeObject)

Syntax

'Declaration
Public Shared Function Serialize(Of TType) ( _
    serializeObject As TType _
) As String
public static string Serialize<TType> (
    TType serializeObject
)
public:
generic<typename TType>
static String^ Serialize (
    TType serializeObject
)

GenericParameters

  • TType
    Specifies the generic type used to serialize.

Parameters

  • serializeObject
    Specifies the object to serialize.

Return Value

Type: String
The serialized object as string (XML).

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

See Also

Reference

GeneralFunctions Class
GeneralFunctions Members
Microsoft.Uii.Common Namespace

Unified Service Desk
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.