语言

SqlBoolean.Explicit 操作员

定义

将 a 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
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结构的 ASqlBoolean。

返回

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

注解

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

另请参阅

适用于

Explicit(SqlSingle to SqlBoolean)

Source:
SQLBoolean.cs
Source:
SQLBoolean.cs
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结构的 ASqlBoolean。

返回

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

注解

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

另请参阅

适用于

Explicit(SqlMoney to SqlBoolean)

Source:
SQLBoolean.cs
Source:
SQLBoolean.cs
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结构的 ASqlBoolean。

返回

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

注解

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

另请参阅

适用于

Explicit(SqlInt64 to SqlBoolean)

Source:
SQLBoolean.cs
Source:
SQLBoolean.cs
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结构的 ASqlBoolean。

返回

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

注解

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

另请参阅

适用于

Explicit(SqlInt32 to SqlBoolean)

Source:
SQLBoolean.cs
Source:
SQLBoolean.cs
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结构的 ASqlBoolean。

返回

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

注解

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

另请参阅

适用于

Explicit(SqlDouble to SqlBoolean)

Source:
SQLBoolean.cs
Source:
SQLBoolean.cs
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结构的 ASqlBoolean。

返回

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

注解

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

另请参阅

适用于

Explicit(SqlDecimal to SqlBoolean)

Source:
SQLBoolean.cs
Source:
SQLBoolean.cs
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结构的 ASqlBoolean。

返回

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

注解

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

另请参阅

适用于

Explicit(SqlByte to SqlBoolean)

Source:
SQLBoolean.cs
Source:
SQLBoolean.cs
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结构的 ASqlBoolean。

返回

一个新SqlBoolean结构,其值等于ValueSqlByte参数。

注解

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

另请参阅

适用于

Explicit(SqlBoolean to Boolean)

Source:
SQLBoolean.cs
Source:
SQLBoolean.cs
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

要转换的 A SqlBoolean 。

返回

一个布尔值,设置为 Value .SqlBoolean

另请参阅

适用于

Explicit(SqlInt16 to SqlBoolean)

Source:
SQLBoolean.cs
Source:
SQLBoolean.cs
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结构的 ASqlBoolean。

返回

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

注解

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

另请参阅

适用于