Skip to content

ToInt16 Method ​

Definition ​

  • Namespace: JASE
  • Assembly: JASE.dll

Overloads ​

NameDescription
bool ToInt16(byte value, out short result)Checks the validity of the input value against the safe range, provides converted result if within the proper range
bool ToInt16(decimal value, out short result)Checks the validity of the input value against the safe range, provides converted result if within the proper range
bool ToInt16(double value, out short result)Checks the validity of the input value against the safe range, provides converted result if within the proper range
bool ToInt16(int value, out short result)Checks the validity of the input value against the safe range, provides converted result if within the proper range
bool ToInt16(long value, out short result)Checks the validity of the input value against the safe range, provides converted result if within the proper range
bool ToInt16(sbyte value, out short result)Checks the validity of the input value against the safe range, provides converted result if within the proper range
bool ToInt16(float value, out short result)Checks the validity of the input value against the safe range, provides converted result if within the proper range
bool ToInt16(ushort value, out short result)Checks the validity of the input value against the safe range, provides converted result if within the proper range
bool ToInt16(uint value, out short result)Checks the validity of the input value against the safe range, provides converted result if within the proper range
bool ToInt16(ulong value, out short result)Checks the validity of the input value against the safe range, provides converted result if within the proper range

bool ToInt16(byte value, out short result) ​

csharp
bool ToInt16(byte value, out short result)

Checks the validity of the input value against the safe range, provides converted result if within the proper range

Returns ​

if the value is an exact integral value within the valid range; otherwise .

bool ToInt16(decimal value, out short result) ​

csharp
bool ToInt16(decimal value, out short result)

Checks the validity of the input value against the safe range, provides converted result if within the proper range

Returns ​

if the value is an exact integral value within the valid range; otherwise .

bool ToInt16(double value, out short result) ​

csharp
bool ToInt16(double value, out short result)

Checks the validity of the input value against the safe range, provides converted result if within the proper range

Returns ​

if the value is an exact integral value within the valid range; otherwise .

bool ToInt16(int value, out short result) ​

csharp
bool ToInt16(int value, out short result)

Checks the validity of the input value against the safe range, provides converted result if within the proper range

Returns ​

if the value is an exact integral value within the valid range; otherwise .

bool ToInt16(long value, out short result) ​

csharp
bool ToInt16(long value, out short result)

Checks the validity of the input value against the safe range, provides converted result if within the proper range

Returns ​

if the value is an exact integral value within the valid range; otherwise .

bool ToInt16(sbyte value, out short result) ​

csharp
bool ToInt16(sbyte value, out short result)

Checks the validity of the input value against the safe range, provides converted result if within the proper range

Returns ​

if the value is an exact integral value within the valid range; otherwise .

bool ToInt16(float value, out short result) ​

csharp
bool ToInt16(float value, out short result)

Checks the validity of the input value against the safe range, provides converted result if within the proper range

Returns ​

if the value is an exact integral value within the valid range; otherwise .

bool ToInt16(ushort value, out short result) ​

csharp
bool ToInt16(ushort value, out short result)

Checks the validity of the input value against the safe range, provides converted result if within the proper range

Returns ​

if the value is an exact integral value within the valid range; otherwise .

bool ToInt16(uint value, out short result) ​

csharp
bool ToInt16(uint value, out short result)

Checks the validity of the input value against the safe range, provides converted result if within the proper range

Returns ​

if the value is an exact integral value within the valid range; otherwise .

bool ToInt16(ulong value, out short result) ​

csharp
bool ToInt16(ulong value, out short result)

Checks the validity of the input value against the safe range, provides converted result if within the proper range

Returns ​

if the value is an exact integral value within the valid range; otherwise .