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!

Enum.ToUInt16

Converts the current value to a 16-bit unsigned integer based on the underlying type.

[Visual Basic]
Overridable Public Function ToUInt16() As UInt16
[C#]
public virtual ushort ToUInt16();
[C++]
public: virtual unsigned short ToUInt16();
[JScript]
public function ToUInt16() : UInt16;

Return Value

The converted value.

Remarks

Uses Convert to perform the conversion.

See Also

Enum Class | Enum Members | System Namespace