Table of Contents

Method ToUInt16

Namespace
MongoDB.Bson.IO
Assembly
MongoDB.Bson.dll

ToUInt16(string)

Converts a string to a UInt16.

[CLSCompliant(false)]
public static ushort ToUInt16(string value)

Parameters

value string

The value.

Returns

ushort

A UInt16.