JsonConvert.ToInt16 Method (original) (raw)

JsonConvertToInt16 Method

Converts a string to an Int16.

Namespace: MongoDB.Bson.IO
Assembly: MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.10.0+569905ff5e778c38ea19d9d0392496a83e1704ed

Syntax

C#

VB

F#

Copy

public static short ToInt16( string value )

Public Shared Function ToInt16 ( value As String ) As Short

static member ToInt16 : value : string -> int16

Parameters

value

Type: SystemString
The value.

Return Value

Type: Int16
An Int16.

See Also

Reference

JsonConvert Class

MongoDB.Bson.IO Namespace