NullableTypes Class Library

DBNullConvert.From Method (NullableInt16)

Converts the specified value to an equivalent Object value that can be assigned to a DataRow Item value, a Parameters Item value or a IDataRecord Item value.

[Visual Basic]
Overloads Public Shared Function From( _
   ByVal x As NullableInt16 _
) As Object
[C#]
public static object From(
   NullableInt16 x
);

Parameters

x
A NullableInt16 value.

Return Value

DBNull if x is Null otherwise the Value of x.

See Also

DBNullConvert Class | NullableTypes.HelperFunctions Namespace | DBNullConvert.From Overload List