SqlBoolean.Explicit 运算符

定义

SqlBoolean 转换为指定结构。

重载

Explicit(SqlString to SqlBoolean)

SqlString 参数转换为 SqlBoolean 结构。

Explicit(SqlSingle to SqlBoolean)

SqlSingle 参数转换为 SqlBoolean 结构。

Explicit(SqlMoney to SqlBoolean)

SqlMoney 参数转换为 SqlBoolean 结构。

Explicit(SqlInt64 to SqlBoolean)

SqlInt64 参数转换为 SqlBoolean 结构。

Explicit(SqlInt32 to SqlBoolean)

SqlInt32 参数转换为 SqlBoolean 结构。

Explicit(SqlDouble to SqlBoolean)

SqlDouble 参数转换为 SqlBoolean 结构。

Explicit(SqlDecimal to SqlBoolean)

SqlDecimal 参数转换为 SqlBoolean 结构。

Explicit(SqlByte to SqlBoolean)

SqlByte 参数转换为 SqlBoolean 结构。

Explicit(SqlBoolean to Boolean)

SqlBoolean 转换为布尔值。

Explicit(SqlInt16 to SqlBoolean)

SqlInt16 参数转换为 SqlBoolean 结构。

Explicit(SqlString to SqlBoolean)

Source:
SQLBoolean.cs
Source:
SQLBoolean.cs
Source:
SQLBoolean.cs

SqlString 参数转换为 SqlBoolean 结构。

public:
 static explicit operator System::Data::SqlTypes::SqlBoolean(System::Data::SqlTypes::SqlString x);
public static explicit operator System.Data.SqlTypes.SqlBoolean (System.Data.SqlTypes.SqlString x);
static member op_Explicit : System.Data.SqlTypes.SqlString -> System.Data.SqlTypes.SqlBoolean
Public Shared Narrowing Operator CType (x As SqlString) As SqlBoolean

参数

x
SqlString

要转换为 SqlString 结构的 SqlBoolean

返回

新的 SqlByte 结构,它的值等于 Value 参数的 SqlBoolean 属性。

注解

此运算符的等效方法是 SqlString.ToSqlBoolean()

另请参阅

适用于

Explicit(SqlSingle to SqlBoolean)

Source:
SQLBoolean.cs
Source:
SQLBoolean.cs
Source:
SQLBoolean.cs

SqlSingle 参数转换为 SqlBoolean 结构。

public:
 static explicit operator System::Data::SqlTypes::SqlBoolean(System::Data::SqlTypes::SqlSingle x);
public static explicit operator System.Data.SqlTypes.SqlBoolean (System.Data.SqlTypes.SqlSingle x);
static member op_Explicit : System.Data.SqlTypes.SqlSingle -> System.Data.SqlTypes.SqlBoolean
Public Shared Narrowing Operator CType (x As SqlSingle) As SqlBoolean

参数

x
SqlSingle

要转换为 SqlSingle 结构的 SqlBoolean

返回

新的 SqlBoolean 结构,它的值等于 Value 参数的 SqlSingle 属性。

注解

此运算符的等效方法是 SqlSingle.ToSqlBoolean()

另请参阅

适用于

Explicit(SqlMoney to SqlBoolean)

Source:
SQLBoolean.cs
Source:
SQLBoolean.cs
Source:
SQLBoolean.cs

SqlMoney 参数转换为 SqlBoolean 结构。

public:
 static explicit operator System::Data::SqlTypes::SqlBoolean(System::Data::SqlTypes::SqlMoney x);
public static explicit operator System.Data.SqlTypes.SqlBoolean (System.Data.SqlTypes.SqlMoney x);
static member op_Explicit : System.Data.SqlTypes.SqlMoney -> System.Data.SqlTypes.SqlBoolean
Public Shared Narrowing Operator CType (x As SqlMoney) As SqlBoolean

参数

x
SqlMoney

要转换为 SqlMoney 结构的 SqlBoolean

返回

新的 SqlByte 结构,它的值等于 Value 参数的 SqlMoney 属性。

注解

此运算符的等效方法是 SqlMoney.ToSqlBoolean()

另请参阅

适用于

Explicit(SqlInt64 to SqlBoolean)

Source:
SQLBoolean.cs
Source:
SQLBoolean.cs
Source:
SQLBoolean.cs

SqlInt64 参数转换为 SqlBoolean 结构。

public:
 static explicit operator System::Data::SqlTypes::SqlBoolean(System::Data::SqlTypes::SqlInt64 x);
public static explicit operator System.Data.SqlTypes.SqlBoolean (System.Data.SqlTypes.SqlInt64 x);
static member op_Explicit : System.Data.SqlTypes.SqlInt64 -> System.Data.SqlTypes.SqlBoolean
Public Shared Narrowing Operator CType (x As SqlInt64) As SqlBoolean

参数

x
SqlInt64

要转换为 SqlInt64 结构的 SqlBoolean

返回

新的 SqlBoolean 结构,它的值等于 Value 参数的 SqlInt64 属性。

注解

此运算符的等效方法是 SqlInt64.ToSqlBoolean()

另请参阅

适用于

Explicit(SqlInt32 to SqlBoolean)

Source:
SQLBoolean.cs
Source:
SQLBoolean.cs
Source:
SQLBoolean.cs

SqlInt32 参数转换为 SqlBoolean 结构。

public:
 static explicit operator System::Data::SqlTypes::SqlBoolean(System::Data::SqlTypes::SqlInt32 x);
public static explicit operator System.Data.SqlTypes.SqlBoolean (System.Data.SqlTypes.SqlInt32 x);
static member op_Explicit : System.Data.SqlTypes.SqlInt32 -> System.Data.SqlTypes.SqlBoolean
Public Shared Narrowing Operator CType (x As SqlInt32) As SqlBoolean

参数

x
SqlInt32

要转换为 SqlInt32 结构的 SqlBoolean

返回

新的 SqlBoolean 结构,它的值等于 Value 参数的 SqlInt32 属性。

注解

此运算符 SqlInt32.ToSqlBoolean()的等效方法是 。

另请参阅

适用于

Explicit(SqlDouble to SqlBoolean)

Source:
SQLBoolean.cs
Source:
SQLBoolean.cs
Source:
SQLBoolean.cs

SqlDouble 参数转换为 SqlBoolean 结构。

public:
 static explicit operator System::Data::SqlTypes::SqlBoolean(System::Data::SqlTypes::SqlDouble x);
public static explicit operator System.Data.SqlTypes.SqlBoolean (System.Data.SqlTypes.SqlDouble x);
static member op_Explicit : System.Data.SqlTypes.SqlDouble -> System.Data.SqlTypes.SqlBoolean
Public Shared Narrowing Operator CType (x As SqlDouble) As SqlBoolean

参数

x
SqlDouble

要转换为 SqlDouble 结构的 SqlBoolean

返回

新的 SqlBoolean 结构,它的值等于 Value 参数的 SqlDouble 属性。

注解

此运算符的等效方法是 SqlDouble.ToSqlBoolean()

另请参阅

适用于

Explicit(SqlDecimal to SqlBoolean)

Source:
SQLBoolean.cs
Source:
SQLBoolean.cs
Source:
SQLBoolean.cs

SqlDecimal 参数转换为 SqlBoolean 结构。

public:
 static explicit operator System::Data::SqlTypes::SqlBoolean(System::Data::SqlTypes::SqlDecimal x);
public static explicit operator System.Data.SqlTypes.SqlBoolean (System.Data.SqlTypes.SqlDecimal x);
static member op_Explicit : System.Data.SqlTypes.SqlDecimal -> System.Data.SqlTypes.SqlBoolean
Public Shared Narrowing Operator CType (x As SqlDecimal) As SqlBoolean

参数

x
SqlDecimal

要转换为 SqlDecimal 结构的 SqlBoolean

返回

新的 SqlByte 结构,它的值等于 Value 参数的 SqlDecimal 属性。

注解

此运算符的等效方法是 SqlDecimal.ToSqlBoolean()

另请参阅

适用于

Explicit(SqlByte to SqlBoolean)

Source:
SQLBoolean.cs
Source:
SQLBoolean.cs
Source:
SQLBoolean.cs

SqlByte 参数转换为 SqlBoolean 结构。

public:
 static explicit operator System::Data::SqlTypes::SqlBoolean(System::Data::SqlTypes::SqlByte x);
public static explicit operator System.Data.SqlTypes.SqlBoolean (System.Data.SqlTypes.SqlByte x);
static member op_Explicit : System.Data.SqlTypes.SqlByte -> System.Data.SqlTypes.SqlBoolean
Public Shared Narrowing Operator CType (x As SqlByte) As SqlBoolean

参数

x
SqlByte

要转换为 SqlByte 结构的 SqlBoolean

返回

一个新 SqlBoolean 结构,它的值等于 Value 参数的 SqlByte

注解

此运算符的等效方法是 SqlByte.ToSqlBoolean()

另请参阅

适用于

Explicit(SqlBoolean to Boolean)

Source:
SQLBoolean.cs
Source:
SQLBoolean.cs
Source:
SQLBoolean.cs

SqlBoolean 转换为布尔值。

public:
 static explicit operator bool(System::Data::SqlTypes::SqlBoolean x);
public static explicit operator bool (System.Data.SqlTypes.SqlBoolean x);
static member op_Explicit : System.Data.SqlTypes.SqlBoolean -> bool
Public Shared Narrowing Operator CType (x As SqlBoolean) As Boolean

参数

x
SqlBoolean

要转换的 SqlBoolean

返回

设置为 ValueSqlBoolean 的布尔值。

另请参阅

适用于

Explicit(SqlInt16 to SqlBoolean)

Source:
SQLBoolean.cs
Source:
SQLBoolean.cs
Source:
SQLBoolean.cs

SqlInt16 参数转换为 SqlBoolean 结构。

public:
 static explicit operator System::Data::SqlTypes::SqlBoolean(System::Data::SqlTypes::SqlInt16 x);
public static explicit operator System.Data.SqlTypes.SqlBoolean (System.Data.SqlTypes.SqlInt16 x);
static member op_Explicit : System.Data.SqlTypes.SqlInt16 -> System.Data.SqlTypes.SqlBoolean
Public Shared Narrowing Operator CType (x As SqlInt16) As SqlBoolean

参数

x
SqlInt16

要转换为 SqlInt16 结构的 SqlBoolean

返回

新的 SqlBoolean 结构,它的值等于 Value 参数的 SqlInt16 属性。

注解

此运算符的等效方法是 SqlInt16.ToSqlBoolean()

另请参阅

适用于