SqlBytes.Explicit Operator

Definicja

Konwertuje na SqlBytes strukturę.

Przeciążenia

Explicit(SqlBytes to SqlBinary)

Konwertuje SqlBytes strukturę na SqlBinary strukturę.

Explicit(SqlBinary to SqlBytes)

Konwertuje SqlBinary strukturę na SqlBytes strukturę.

Explicit(SqlBytes to SqlBinary)

Źródło:
SQLBytes.cs
Źródło:
SQLBytes.cs
Źródło:
SQLBytes.cs

Konwertuje SqlBytes strukturę na SqlBinary strukturę.

public static explicit operator System.Data.SqlTypes.SqlBinary(System.Data.SqlTypes.SqlBytes value);

Parametry

value
SqlBytes

Struktura SqlBytes , która ma zostać przekonwertowana.

Zwraca

Struktura SqlBinary .

Uwagi

Równoważną metodą dla tego operatora jest SqlBytes.ToSqlBinary().

Zobacz też

Dotyczy

.NET 10 i inne wersje
Produkt Wersje
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1

Explicit(SqlBinary to SqlBytes)

Źródło:
SQLBytes.cs
Źródło:
SQLBytes.cs
Źródło:
SQLBytes.cs

Konwertuje SqlBinary strukturę na SqlBytes strukturę.

public static explicit operator System.Data.SqlTypes.SqlBytes(System.Data.SqlTypes.SqlBinary value);

Parametry

value
SqlBinary

Struktura SqlBinary , która ma zostać przekonwertowana.

Zwraca

Struktura SqlBytes .

Uwagi

Równoważną metodą dla tego operatora jest SqlBytes.SqlBytes(SqlBinary).

Zobacz też

Dotyczy

.NET 10 i inne wersje
Produkt Wersje
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1