SqlBoolean Explicit Conversion (SqlSingle to SqlBoolean)

 
equivalentCodeEntityM:System.Data.SqlTypes.SqlSingle.ToSqlBoolean

Converts the SqlSingle parameter to a SqlBoolean structure.

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

public:
static explicit operator SqlBoolean (
	SqlSingle x
)

Parameters

x
Type: System.Data.SqlTypes::SqlSingle

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

.NET Framework
Available since 1.1
Return to top
Show: