Explicit Conversion (SqlInt32 to SqlBoolean)

SqlBoolean Explicit Conversion (SqlInt32 to SqlBoolean)

 
equivalentCodeEntityM:System.Data.SqlTypes.S qlInt32.ToSqlBoolean

Converts the SqlInt32 parameter to a SqlBoolean structure.

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

public static explicit operator SqlBoolean (
	SqlInt32 x
)

Parameters

x
Type: System.Data.SqlTypes.SqlInt32

A SqlInt32 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 SqlInt32 parameter.

.NET Framework
Available since 1.1
Return to top
Show:
© 2016 Microsoft