Click or drag to resize

JsonConvert.ToUInt16 Method

Converts a string to a UInt16.

Namespace:  MongoDB.Bson.IO
Assembly:  MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.22.0+75246110ed1247226fcc7f8eb2c54ffab745693e
Syntax
public static ushort ToUInt16(
	string value
)

Parameters

value
Type: System.String
The value.

Return Value

Type: UInt16
A UInt16.
See Also