SqlBinary.Explicit Operator

Definition

Konverterar till en SqlBinary struktur.

Överlagringar

Name Description
Explicit(SqlBinary to Byte[])

Konverterar en SqlBinary struktur till en Byte matris.

Explicit(SqlGuid to SqlBinary)

Konverterar en SqlGuid struktur till en SqlBinary struktur.

Explicit(SqlBinary to Byte[])

Källa:
SQLBinary.cs
Källa:
SQLBinary.cs
Källa:
SQLBinary.cs
Källa:
SQLBinary.cs
Källa:
SQLBinary.cs

Konverterar en SqlBinary struktur till en Byte matris.

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()

Parametrar

x
SqlBinary

Strukturen SqlBinary som ska konverteras.

Returer

Byte[]

En Byte matris.

Kommentarer

Motsvarande metod för den här operatorn är SqlBinary.Value

Se även

Gäller för

Explicit(SqlGuid to SqlBinary)

Källa:
SQLBinary.cs
Källa:
SQLBinary.cs
Källa:
SQLBinary.cs
Källa:
SQLBinary.cs
Källa:
SQLBinary.cs

Konverterar en SqlGuid struktur till en SqlBinary struktur.

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

Parametrar

x
SqlGuid

Strukturen SqlGuid som ska konverteras.

Returer

Strukturen SqlGuid som ska konverteras.

Kommentarer

Motsvarande metod för den här operatorn är SqlBinary.ToSqlGuid()

Se även

Gäller för