SqlGuid.Explicit 运算符

定义

SqlGuid 实例互相转换。

重载

Explicit(SqlBinary to SqlGuid)

SqlBinary 参数转换为 SqlGuid

Explicit(SqlGuid to Guid)

将提供的 SqlGuid 参数转换为 Guid

Explicit(SqlString to SqlGuid)

将指定的 SqlString 结构转换为 SqlGuid

Explicit(SqlBinary to SqlGuid)

Source:
SQLGuid.cs
Source:
SQLGuid.cs
Source:
SQLGuid.cs

SqlBinary 参数转换为 SqlGuid

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

参数

x
SqlBinary

SqlBinary 对象。

返回

一个新的 SqlGuid,它的 Value 等于 Value 参数的 SqlBinary

另请参阅

适用于

Explicit(SqlGuid to Guid)

Source:
SQLGuid.cs
Source:
SQLGuid.cs
Source:
SQLGuid.cs

将提供的 SqlGuid 参数转换为 Guid

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

参数

x
SqlGuid

SqlGuid 结构。

返回

一个新 Guid,它等于 ValueSqlGuid

另请参阅

适用于

Explicit(SqlString to SqlGuid)

Source:
SQLGuid.cs
Source:
SQLGuid.cs
Source:
SQLGuid.cs

将指定的 SqlString 结构转换为 SqlGuid

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

参数

x
SqlString

SqlString 对象。

返回

一个 SqlGuid,其 Value 等于 SqlString 参数表示的值。

另请参阅

适用于