SqlInt16.Explicit Operator
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
Konverterar till och från en SqlInt16.
Överlagringar
| Name | Description |
|---|---|
| Explicit(SqlString to SqlInt16) | |
| Explicit(SqlSingle to SqlInt16) | |
| Explicit(SqlMoney to SqlInt16) | |
| Explicit(SqlInt64 to SqlInt16) | |
| Explicit(SqlInt16 to Int16) |
Konverterar den angivna SqlInt16 strukturen till ett kort heltal. |
| Explicit(SqlDouble to SqlInt16) | |
| Explicit(SqlDecimal to SqlInt16) |
Konverterar den angivna SqlDecimal strukturen till SqlInt16. |
| Explicit(SqlBoolean to SqlInt16) |
Konverterar den angivna SqlBoolean strukturen till SqlInt16. |
| Explicit(SqlInt32 to SqlInt16) |
Explicit(SqlString to SqlInt16)
- Källa:
- SQLInt16.cs
- Källa:
- SQLInt16.cs
- Källa:
- SQLInt16.cs
- Källa:
- SQLInt16.cs
- Källa:
- SQLInt16.cs
public:
static explicit operator System::Data::SqlTypes::SqlInt16(System::Data::SqlTypes::SqlString x);
public static explicit operator System.Data.SqlTypes.SqlInt16(System.Data.SqlTypes.SqlString x);
static member op_Explicit : System.Data.SqlTypes.SqlString -> System.Data.SqlTypes.SqlInt16
Public Shared Narrowing Operator CType (x As SqlString) As SqlInt16
Parametrar
Returer
En ny SqlInt16 struktur vars Value egenskap är lika med värdet som representeras av SqlString objektparametern.
Kommentarer
Motsvarande metod för den här operatorn är SqlString.ToSqlInt16()
Se även
Gäller för
Explicit(SqlSingle to SqlInt16)
- Källa:
- SQLInt16.cs
- Källa:
- SQLInt16.cs
- Källa:
- SQLInt16.cs
- Källa:
- SQLInt16.cs
- Källa:
- SQLInt16.cs
public:
static explicit operator System::Data::SqlTypes::SqlInt16(System::Data::SqlTypes::SqlSingle x);
public static explicit operator System.Data.SqlTypes.SqlInt16(System.Data.SqlTypes.SqlSingle x);
static member op_Explicit : System.Data.SqlTypes.SqlSingle -> System.Data.SqlTypes.SqlInt16
Public Shared Narrowing Operator CType (x As SqlSingle) As SqlInt16
Parametrar
Returer
En ny SqlInt16 struktur vars Value egenskap är lika med heltalsdelen av parametern SqlSingle .
Kommentarer
Motsvarande metod för den här operatorn är SqlSingle.ToSqlInt16()
Se även
Gäller för
Explicit(SqlMoney to SqlInt16)
- Källa:
- SQLInt16.cs
- Källa:
- SQLInt16.cs
- Källa:
- SQLInt16.cs
- Källa:
- SQLInt16.cs
- Källa:
- SQLInt16.cs
public:
static explicit operator System::Data::SqlTypes::SqlInt16(System::Data::SqlTypes::SqlMoney x);
public static explicit operator System.Data.SqlTypes.SqlInt16(System.Data.SqlTypes.SqlMoney x);
static member op_Explicit : System.Data.SqlTypes.SqlMoney -> System.Data.SqlTypes.SqlInt16
Public Shared Narrowing Operator CType (x As SqlMoney) As SqlInt16
Parametrar
Returer
En ny SqlInt16 struktur vars Value egenskap är lika med Value parameterns SqlMoney egenskap.
Kommentarer
Motsvarande metod för den här operatorn är SqlMoney.ToSqlInt16()
Se även
Gäller för
Explicit(SqlInt64 to SqlInt16)
- Källa:
- SQLInt16.cs
- Källa:
- SQLInt16.cs
- Källa:
- SQLInt16.cs
- Källa:
- SQLInt16.cs
- Källa:
- SQLInt16.cs
public:
static explicit operator System::Data::SqlTypes::SqlInt16(System::Data::SqlTypes::SqlInt64 x);
public static explicit operator System.Data.SqlTypes.SqlInt16(System.Data.SqlTypes.SqlInt64 x);
static member op_Explicit : System.Data.SqlTypes.SqlInt64 -> System.Data.SqlTypes.SqlInt16
Public Shared Narrowing Operator CType (x As SqlInt64) As SqlInt16
Parametrar
Returer
En ny SqlInt16 struktur vars Value egenskap är lika med Value parametern SqlInt64 .
Kommentarer
Motsvarande metod för den här operatorn är SqlInt64.ToSqlInt16()
Se även
Gäller för
Explicit(SqlInt16 to Int16)
- Källa:
- SQLInt16.cs
- Källa:
- SQLInt16.cs
- Källa:
- SQLInt16.cs
- Källa:
- SQLInt16.cs
- Källa:
- SQLInt16.cs
Konverterar den angivna SqlInt16 strukturen till ett kort heltal.
public:
static explicit operator short(System::Data::SqlTypes::SqlInt16 x);
public static explicit operator short(System.Data.SqlTypes.SqlInt16 x);
static member op_Explicit : System.Data.SqlTypes.SqlInt16 -> int16
Public Shared Narrowing Operator CType (x As SqlInt16) As Short
Parametrar
Returer
Ett kort heltal vars värde är parameterns SqlInt16 värde.
Se även
Gäller för
Explicit(SqlDouble to SqlInt16)
- Källa:
- SQLInt16.cs
- Källa:
- SQLInt16.cs
- Källa:
- SQLInt16.cs
- Källa:
- SQLInt16.cs
- Källa:
- SQLInt16.cs
public:
static explicit operator System::Data::SqlTypes::SqlInt16(System::Data::SqlTypes::SqlDouble x);
public static explicit operator System.Data.SqlTypes.SqlInt16(System.Data.SqlTypes.SqlDouble x);
static member op_Explicit : System.Data.SqlTypes.SqlDouble -> System.Data.SqlTypes.SqlInt16
Public Shared Narrowing Operator CType (x As SqlDouble) As SqlInt16
Parametrar
Returer
En ny SqlInt16 struktur vars Value egenskap är lika med heltalsdelen av parametern SqlDouble .
Kommentarer
Motsvarande metod för den här operatorn är SqlDouble.ToSqlInt16()
Se även
Gäller för
Explicit(SqlDecimal to SqlInt16)
- Källa:
- SQLInt16.cs
- Källa:
- SQLInt16.cs
- Källa:
- SQLInt16.cs
- Källa:
- SQLInt16.cs
- Källa:
- SQLInt16.cs
Konverterar den angivna SqlDecimal strukturen till SqlInt16.
public:
static explicit operator System::Data::SqlTypes::SqlInt16(System::Data::SqlTypes::SqlDecimal x);
public static explicit operator System.Data.SqlTypes.SqlInt16(System.Data.SqlTypes.SqlDecimal x);
static member op_Explicit : System.Data.SqlTypes.SqlDecimal -> System.Data.SqlTypes.SqlInt16
Public Shared Narrowing Operator CType (x As SqlDecimal) As SqlInt16
Parametrar
En SqlDecimal struktur.
Returer
En ny SqlInt16 struktur vars Value egenskap är lika med Value parameterns SqlDecimal egenskap.
Kommentarer
Motsvarande metod för den här operatorn är SqlDecimal.ToSqlInt16()
Se även
Gäller för
Explicit(SqlBoolean to SqlInt16)
- Källa:
- SQLInt16.cs
- Källa:
- SQLInt16.cs
- Källa:
- SQLInt16.cs
- Källa:
- SQLInt16.cs
- Källa:
- SQLInt16.cs
Konverterar den angivna SqlBoolean strukturen till SqlInt16.
public:
static explicit operator System::Data::SqlTypes::SqlInt16(System::Data::SqlTypes::SqlBoolean x);
public static explicit operator System.Data.SqlTypes.SqlInt16(System.Data.SqlTypes.SqlBoolean x);
static member op_Explicit : System.Data.SqlTypes.SqlBoolean -> System.Data.SqlTypes.SqlInt16
Public Shared Narrowing Operator CType (x As SqlBoolean) As SqlInt16
Parametrar
En SqlBoolean struktur.
Returer
En ny SqlInt16 struktur vars Value egenskap är lika med ByteValue parameterns SqlBoolean egenskap.
Kommentarer
Motsvarande metod för den här operatorn är SqlBoolean.ToSqlInt16()
Se även
Gäller för
Explicit(SqlInt32 to SqlInt16)
- Källa:
- SQLInt16.cs
- Källa:
- SQLInt16.cs
- Källa:
- SQLInt16.cs
- Källa:
- SQLInt16.cs
- Källa:
- SQLInt16.cs
public:
static explicit operator System::Data::SqlTypes::SqlInt16(System::Data::SqlTypes::SqlInt32 x);
public static explicit operator System.Data.SqlTypes.SqlInt16(System.Data.SqlTypes.SqlInt32 x);
static member op_Explicit : System.Data.SqlTypes.SqlInt32 -> System.Data.SqlTypes.SqlInt16
Public Shared Narrowing Operator CType (x As SqlInt32) As SqlInt16
Parametrar
Returer
En ny SqlInt16 struktur vars Value egenskap är lika med den Value angivna SqlInt32 parametern.
Kommentarer
Motsvarande metod för den här operatorn är SqlInt32.ToSqlInt16()