System.Xml.XmlConvert.ToString Method

Converts the ushort to a string.

Syntax

[System.CLSCompliant(false)]
public static string ToString (ushort value)

Parameters

value
The value to convert.

Returns

A string representation of the UInt16.

Remarks

This member is not CLS-compliant. For a CLS-compliant alternative, use XmlConvert.ToString(bool)(int).

This method calls value.ToString(null, System.Globalization.NumberFormatInfo.InvariantInfo ).

Requirements

Namespace: System.Xml
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0