SqlBinary.Explicit SqlBinary.Explicit SqlBinary.Explicit SqlBinary.Explicit Operator

Definition

Overloads

Explicit(SqlBinary to Byte[]) Explicit(SqlBinary to Byte[]) Explicit(SqlBinary to Byte[]) Explicit(SqlBinary to Byte[])

Converts a SqlBinary structure to a Byte array.

Explicit(SqlGuid to SqlBinary) Explicit(SqlGuid to SqlBinary) Explicit(SqlGuid to SqlBinary) Explicit(SqlGuid to SqlBinary)

Converts a SqlGuid structure to a SqlBinary structure.

Explicit(SqlBinary to Byte[]) Explicit(SqlBinary to Byte[]) Explicit(SqlBinary to Byte[]) Explicit(SqlBinary to Byte[])

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);
static member op_Explicit : System.Data.SqlTypes.SqlBinary -> byte[]
Public Shared Narrowing Operator CType (x As SqlBinary) As Byte()

Parameters

x
SqlBinary SqlBinary SqlBinary SqlBinary

The SqlBinary structure to be converted.

Returns

Byte[]

A Byte array.

Remarks

The equivalent method for this operator is SqlBinary.Value

See also

Explicit(SqlGuid to SqlBinary) Explicit(SqlGuid to SqlBinary) Explicit(SqlGuid to SqlBinary) Explicit(SqlGuid to SqlBinary)

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 SqlGuid SqlGuid 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