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!

Byte.ToInt16

Converts this instance of a Byte to an Int16.

[Visual Basic]
Overridable Public Function ToInt16() As Short
[C#]
public virtual short ToInt16();
[C++]
public: virtual short ToInt16();
[JScript]
public function ToInt16() : Int16;

Return Value

An Int16 as a byte.

Remarks

The ToInt16 method returns a short.

This method implements IConvertible, which replaced IValue. This method is used to obtain the type code for a specified object. (See Convert and Value for more information about conversions; see the Type for more information about types.)

See Also

Byte Structure | Byte Members | System Namespace