Export (0) Print
Expand All

SqlInt16 Implicit Conversion (Int16 to SqlInt16)

Converts the supplied short integer to SqlInt16.

Namespace:  System.Data.SqlTypes
Assembly:  System.Data (in System.Data.dll)

public static implicit operator SqlInt16 (
	short x


Type: System.Int16

A short integer value.

Return Value

Type: System.Data.SqlTypes.SqlInt16
A SqlInt16 structure with the same value as the specified short integer.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

XNA Framework

Supported in: 3.0, 2.0, 1.0
© 2015 Microsoft