Bewerken

Delen via


SqlGuid.Explicit Operator

Definition

Converts to and from a SqlGuid instance.

Overloads

Explicit(SqlBinary to SqlGuid)

Converts the SqlBinary parameter to SqlGuid.

Explicit(SqlGuid to Guid)

Converts the supplied SqlGuid parameter to Guid.

Explicit(SqlString to SqlGuid)

Converts the specified SqlString structure to SqlGuid.

Explicit(SqlBinary to SqlGuid)

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

Converts the SqlBinary parameter to 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

Parameters

x
SqlBinary

A SqlBinary object.

Returns

A new SqlGuid whose Value is equal to the Value of the SqlBinary parameter.

See also

Applies to

Explicit(SqlGuid to Guid)

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

Converts the supplied SqlGuid parameter to 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

Parameters

x
SqlGuid

A SqlGuid structure.

Returns

A new Guid equal to the Value of the SqlGuid.

See also

Applies to

Explicit(SqlString to SqlGuid)

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

Converts the specified SqlString structure to 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

Parameters

x
SqlString

A SqlString object.

Returns

A SqlGuid whose Value equals the value represented by the SqlString parameter.

See also

Applies to