SqlInt16 Implicit Conversion (Int16 to SqlInt16)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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
)

Parameters

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
Available since 1.1
Return to top
Show: