SqlBoolean Narrowing Conversion (SqlInt16 to SqlBoolean)

 
equivalentCodeEntityM:System.Data.SqlTypes.SqlInt16.ToSqlBoolean

Converts the SqlInt16 parameter to a SqlBoolean structure.

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

Public Shared Narrowing Operator CType (
	x As SqlInt16
) As SqlBoolean

Parameters

x
Type: System.Data.SqlTypes.SqlInt16

A SqlInt16 to be converted to a SqlBoolean structure.

Return Value

Type: System.Data.SqlTypes.SqlBoolean

A new SqlBoolean structure whose value equals the Value property of the SqlInt16 parameter.

.NET Framework
Available since 1.1
Return to top
Show: