SqlInt32.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 SqlInt32.
Överlagringar
| Name | Description |
|---|---|
| Explicit(SqlString to SqlInt32) | |
| Explicit(SqlSingle to SqlInt32) | |
| Explicit(SqlMoney to SqlInt32) | |
| Explicit(SqlInt64 to SqlInt32) | |
| Explicit(SqlInt32 to Int32) |
Konverterar den angivna SqlInt32 strukturen till ett heltal. |
| Explicit(SqlDouble to SqlInt32) | |
| Explicit(SqlDecimal to SqlInt32) |
Konverterar den angivna SqlDecimal strukturen till SqlInt32. |
| Explicit(SqlBoolean to SqlInt32) |
Konverterar den angivna SqlBoolean till SqlInt32. |
Explicit(SqlString to SqlInt32)
- Källa:
- SQLInt32.cs
- Källa:
- SQLInt32.cs
- Källa:
- SQLInt32.cs
- Källa:
- SQLInt32.cs
- Källa:
- SQLInt32.cs
public:
static explicit operator System::Data::SqlTypes::SqlInt32(System::Data::SqlTypes::SqlString x);
public static explicit operator System.Data.SqlTypes.SqlInt32(System.Data.SqlTypes.SqlString x);
static member op_Explicit : System.Data.SqlTypes.SqlString -> System.Data.SqlTypes.SqlInt32
Public Shared Narrowing Operator CType (x As SqlString) As SqlInt32
Parametrar
Returer
En ny SqlInt32 struktur vars Value egenskap är lika med värdet som representeras av parametern SqlString .
Kommentarer
Motsvarande metod för den här operatorn är SqlString.ToSqlInt32()
Se även
Gäller för
Explicit(SqlSingle to SqlInt32)
- Källa:
- SQLInt32.cs
- Källa:
- SQLInt32.cs
- Källa:
- SQLInt32.cs
- Källa:
- SQLInt32.cs
- Källa:
- SQLInt32.cs
public:
static explicit operator System::Data::SqlTypes::SqlInt32(System::Data::SqlTypes::SqlSingle x);
public static explicit operator System.Data.SqlTypes.SqlInt32(System.Data.SqlTypes.SqlSingle x);
static member op_Explicit : System.Data.SqlTypes.SqlSingle -> System.Data.SqlTypes.SqlInt32
Public Shared Narrowing Operator CType (x As SqlSingle) As SqlInt32
Parametrar
Returer
En ny SqlInt32 struktur vars Value egenskap är lika med heltalsdelen av parametern SqlSingle .
Kommentarer
Motsvarande metod för den här operatorn är SqlSingle.ToSqlInt32()
Se även
Gäller för
Explicit(SqlMoney to SqlInt32)
- Källa:
- SQLInt32.cs
- Källa:
- SQLInt32.cs
- Källa:
- SQLInt32.cs
- Källa:
- SQLInt32.cs
- Källa:
- SQLInt32.cs
public:
static explicit operator System::Data::SqlTypes::SqlInt32(System::Data::SqlTypes::SqlMoney x);
public static explicit operator System.Data.SqlTypes.SqlInt32(System.Data.SqlTypes.SqlMoney x);
static member op_Explicit : System.Data.SqlTypes.SqlMoney -> System.Data.SqlTypes.SqlInt32
Public Shared Narrowing Operator CType (x As SqlMoney) As SqlInt32
Parametrar
Returer
En ny SqlInt32 struktur vars Value egenskap är Value lika med parameterns SqlMoney egenskap.
Kommentarer
Motsvarande metod för den här operatorn är SqlMoney.ToSqlInt32()
Se även
Gäller för
Explicit(SqlInt64 to SqlInt32)
- Källa:
- SQLInt32.cs
- Källa:
- SQLInt32.cs
- Källa:
- SQLInt32.cs
- Källa:
- SQLInt32.cs
- Källa:
- SQLInt32.cs
public:
static explicit operator System::Data::SqlTypes::SqlInt32(System::Data::SqlTypes::SqlInt64 x);
public static explicit operator System.Data.SqlTypes.SqlInt32(System.Data.SqlTypes.SqlInt64 x);
static member op_Explicit : System.Data.SqlTypes.SqlInt64 -> System.Data.SqlTypes.SqlInt32
Public Shared Narrowing Operator CType (x As SqlInt64) As SqlInt32
Parametrar
Returer
En ny SqlInt32 struktur vars Value egenskap är Value lika med parameterns SqlInt64 egenskap.
Kommentarer
Motsvarande metod för den här operatorn är SqlInt64.ToSqlInt32()
Se även
Gäller för
Explicit(SqlInt32 to Int32)
- Källa:
- SQLInt32.cs
- Källa:
- SQLInt32.cs
- Källa:
- SQLInt32.cs
- Källa:
- SQLInt32.cs
- Källa:
- SQLInt32.cs
Konverterar den angivna SqlInt32 strukturen till ett heltal.
public:
static explicit operator int(System::Data::SqlTypes::SqlInt32 x);
public static explicit operator int(System.Data.SqlTypes.SqlInt32 x);
static member op_Explicit : System.Data.SqlTypes.SqlInt32 -> int
Public Shared Narrowing Operator CType (x As SqlInt32) As Integer
Parametrar
Returer
Det konverterade heltalsvärdet.
Se även
Gäller för
Explicit(SqlDouble to SqlInt32)
- Källa:
- SQLInt32.cs
- Källa:
- SQLInt32.cs
- Källa:
- SQLInt32.cs
- Källa:
- SQLInt32.cs
- Källa:
- SQLInt32.cs
public:
static explicit operator System::Data::SqlTypes::SqlInt32(System::Data::SqlTypes::SqlDouble x);
public static explicit operator System.Data.SqlTypes.SqlInt32(System.Data.SqlTypes.SqlDouble x);
static member op_Explicit : System.Data.SqlTypes.SqlDouble -> System.Data.SqlTypes.SqlInt32
Public Shared Narrowing Operator CType (x As SqlDouble) As SqlInt32
Parametrar
Returer
En ny SqlInt32 struktur vars Value egenskap är lika med heltalsdelen av parametern SqlDouble .
Kommentarer
Motsvarande metod för den här operatorn är SqlDouble.ToSqlInt32()
Se även
Gäller för
Explicit(SqlDecimal to SqlInt32)
- Källa:
- SQLInt32.cs
- Källa:
- SQLInt32.cs
- Källa:
- SQLInt32.cs
- Källa:
- SQLInt32.cs
- Källa:
- SQLInt32.cs
Konverterar den angivna SqlDecimal strukturen till SqlInt32.
public:
static explicit operator System::Data::SqlTypes::SqlInt32(System::Data::SqlTypes::SqlDecimal x);
public static explicit operator System.Data.SqlTypes.SqlInt32(System.Data.SqlTypes.SqlDecimal x);
static member op_Explicit : System.Data.SqlTypes.SqlDecimal -> System.Data.SqlTypes.SqlInt32
Public Shared Narrowing Operator CType (x As SqlDecimal) As SqlInt32
Parametrar
En SqlDecimal struktur.
Returer
En ny SqlInt32 struktur vars Value egenskap är Value lika med parameterns SqlDecimal egenskap.
Kommentarer
Motsvarande metod för den här operatorn är SqlDecimal.ToSqlInt32()
Se även
Gäller för
Explicit(SqlBoolean to SqlInt32)
- Källa:
- SQLInt32.cs
- Källa:
- SQLInt32.cs
- Källa:
- SQLInt32.cs
- Källa:
- SQLInt32.cs
- Källa:
- SQLInt32.cs
Konverterar den angivna SqlBoolean till SqlInt32.
public:
static explicit operator System::Data::SqlTypes::SqlInt32(System::Data::SqlTypes::SqlBoolean x);
public static explicit operator System.Data.SqlTypes.SqlInt32(System.Data.SqlTypes.SqlBoolean x);
static member op_Explicit : System.Data.SqlTypes.SqlBoolean -> System.Data.SqlTypes.SqlInt32
Public Shared Narrowing Operator CType (x As SqlBoolean) As SqlInt32
Parametrar
En SqlBoolean struktur.
Returer
En ny SqlInt32 struktur vars Value egenskap är lika med ByteValue parameterns SqlBoolean egenskap.
Kommentarer
Motsvarande metod för den här operatorn är SqlBoolean.ToSqlInt32()