Bewerken

Delen via


SqlBinary.Explicit Operator

Definition

Converts to a SqlBinary structure.

Overloads

Explicit(SqlBinary to Byte[])

Converts a SqlBinary structure to a Byte array.

Explicit(SqlGuid to SqlBinary)

Converts a SqlGuid structure to a SqlBinary structure.

Explicit(SqlBinary to Byte[])

Source:
SQLBinary.cs
Source:
SQLBinary.cs
Source:
SQLBinary.cs

Converts a SqlBinary structure to a Byte array.

public:
 static explicit operator cli::array <System::Byte> ^(System::Data::SqlTypes::SqlBinary x);
public static explicit operator byte[]? (System.Data.SqlTypes.SqlBinary x);
public static explicit operator byte[] (System.Data.SqlTypes.SqlBinary x);
static member op_Explicit : System.Data.SqlTypes.SqlBinary -> byte[]
Public Shared Narrowing Operator CType (x As SqlBinary) As Byte()

Parameters

x
SqlBinary

The SqlBinary structure to be converted.

Returns

Byte[]

A Byte array.

Remarks

The equivalent method for this operator is SqlBinary.Value

See also

Applies to

Explicit(SqlGuid to SqlBinary)

Source:
SQLBinary.cs
Source:
SQLBinary.cs
Source:
SQLBinary.cs

Converts a SqlGuid structure to a SqlBinary structure.

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

Parameters

x
SqlGuid

The SqlGuid structure to be converted.

Returns

The SqlGuid structure to be converted.

Remarks

The equivalent method for this operator is SqlBinary.ToSqlGuid()

See also

Applies to