NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

UInt16.Format

Converts a numeric value to a string. The UInt16 type is not CLS compliant. The CLS-compliant alternative is Int16.

[Visual Basic] The UInt16 type cannot be used in Visual Basic.

Overload List [C#, C++, JScript]

Converts the value of the current instance to a String with the specified format string.

[C#] public virtual string Format(String, IServiceObjectProvider);
[C++] public: virtual String* Format(String*, IServiceObjectProvider);
[JScript] public function Format(String, IServiceObjectProvider) : String;

Converts a numeric value to a String using the specified format string.

[C#] public static string Format(ushort, String, NumberFormatInfo);
[C++] public: static String* Format(unsigned short, String, NumberFormatInfo);
[JScript] public static function Format(UInt16, String, NumberFormatInfo) : String;

Converts a numeric value to a String with the specified format string.

[C#] public static string Format(ushort, String);
[C++] public: static String* Format(unsigned short, String);
[JScript] public static function Format(UInt16, String) : String;

See Also

UInt16 Structure | UInt16 Members | System Namespace