SqlString.Explicit Operator

Definition

Konverterar till och från en SqlString.

Överlagringar

Name Description
Explicit(SqlString to String)

Konverterar en SqlString till en String.

Explicit(SqlSingle to SqlString)

Konverterar den angivna SqlSingle parametern till SqlString.

Explicit(SqlMoney to SqlString)

Konverterar den angivna SqlMoney parametern till SqlString.

Explicit(SqlInt64 to SqlString)

Konverterar den angivna SqlInt64 parametern till SqlString.

Explicit(SqlInt16 to SqlString)

Konverterar den angivna SqlInt16 parametern till SqlString.

Explicit(SqlInt32 to SqlString)

Konverterar den angivna SqlInt32 parametern till SqlString.

Explicit(SqlDouble to SqlString)

Konverterar den angivna SqlDouble parametern till SqlString.

Explicit(SqlDecimal to SqlString)

Konverterar den angivna SqlDecimal parametern till SqlString.

Explicit(SqlDateTime to SqlString)

Konverterar den angivna SqlDateTime parametern till SqlString.

Explicit(SqlByte to SqlString)

Konverterar den angivna SqlByte strukturen till SqlString.

Explicit(SqlBoolean to SqlString)

Konverterar den angivna SqlBoolean strukturen till SqlString.

Explicit(SqlGuid to SqlString)

Konverterar den angivna SqlGuid parametern till SqlString.

Explicit(SqlString to String)

Källa:
SQLString.cs
Källa:
SQLString.cs
Källa:
SQLString.cs
Källa:
SQLString.cs
Källa:
SQLString.cs

Konverterar en SqlString till en String.

public:
 static explicit operator System::String ^(System::Data::SqlTypes::SqlString x);
public static explicit operator string(System.Data.SqlTypes.SqlString x);
static member op_Explicit : System.Data.SqlTypes.SqlString -> string
Public Shared Narrowing Operator CType (x As SqlString) As String

Parametrar

x
SqlString

Som SqlString ska konverteras.

Returer

En String, vars innehåll är samma som Value egenskapen för parametern SqlString .

Se även

Gäller för

Explicit(SqlSingle to SqlString)

Källa:
SQLString.cs
Källa:
SQLString.cs
Källa:
SQLString.cs
Källa:
SQLString.cs
Källa:
SQLString.cs

Konverterar den angivna SqlSingle parametern till SqlString.

public:
 static explicit operator System::Data::SqlTypes::SqlString(System::Data::SqlTypes::SqlSingle x);
public static explicit operator System.Data.SqlTypes.SqlString(System.Data.SqlTypes.SqlSingle x);
static member op_Explicit : System.Data.SqlTypes.SqlSingle -> System.Data.SqlTypes.SqlString
Public Shared Narrowing Operator CType (x As SqlSingle) As SqlString

Parametrar

x
SqlSingle

Strukturen SqlSingle som ska konverteras.

Returer

En ny SqlString som innehåller strängrepresentationen av parametern SqlSingle .

Kommentarer

Motsvarande metod för den här operatorn är SqlSingle.ToSqlString().

Se även

Gäller för

Explicit(SqlMoney to SqlString)

Källa:
SQLString.cs
Källa:
SQLString.cs
Källa:
SQLString.cs
Källa:
SQLString.cs
Källa:
SQLString.cs

Konverterar den angivna SqlMoney parametern till SqlString.

public:
 static explicit operator System::Data::SqlTypes::SqlString(System::Data::SqlTypes::SqlMoney x);
public static explicit operator System.Data.SqlTypes.SqlString(System.Data.SqlTypes.SqlMoney x);
static member op_Explicit : System.Data.SqlTypes.SqlMoney -> System.Data.SqlTypes.SqlString
Public Shared Narrowing Operator CType (x As SqlMoney) As SqlString

Parametrar

x
SqlMoney

Strukturen SqlMoney som ska konverteras.

Returer

En ny SqlString som innehåller strängrepresentationen av parametern SqlMoney .

Kommentarer

Motsvarande metod för den här operatorn är SqlMoney.ToSqlString()

Se även

Gäller för

Explicit(SqlInt64 to SqlString)

Källa:
SQLString.cs
Källa:
SQLString.cs
Källa:
SQLString.cs
Källa:
SQLString.cs
Källa:
SQLString.cs

Konverterar den angivna SqlInt64 parametern till SqlString.

public:
 static explicit operator System::Data::SqlTypes::SqlString(System::Data::SqlTypes::SqlInt64 x);
public static explicit operator System.Data.SqlTypes.SqlString(System.Data.SqlTypes.SqlInt64 x);
static member op_Explicit : System.Data.SqlTypes.SqlInt64 -> System.Data.SqlTypes.SqlString
Public Shared Narrowing Operator CType (x As SqlInt64) As SqlString

Parametrar

x
SqlInt64

Strukturen SqlInt64 som ska konverteras.

Returer

Ett nytt SqlString objekt som innehåller strängrepresentationen av parametern SqlInt64 .

Kommentarer

Motsvarande metod för den här operatorn är SqlInt64.ToSqlString()

Se även

Gäller för

Explicit(SqlInt16 to SqlString)

Källa:
SQLString.cs
Källa:
SQLString.cs
Källa:
SQLString.cs
Källa:
SQLString.cs
Källa:
SQLString.cs

Konverterar den angivna SqlInt16 parametern till SqlString.

public:
 static explicit operator System::Data::SqlTypes::SqlString(System::Data::SqlTypes::SqlInt16 x);
public static explicit operator System.Data.SqlTypes.SqlString(System.Data.SqlTypes.SqlInt16 x);
static member op_Explicit : System.Data.SqlTypes.SqlInt16 -> System.Data.SqlTypes.SqlString
Public Shared Narrowing Operator CType (x As SqlInt16) As SqlString

Parametrar

x
SqlInt16

Strukturen SqlInt16 som ska konverteras.

Returer

Ett nytt SqlString objekt som innehåller strängrepresentationen av parametern SqlInt16 .

Kommentarer

Motsvarande metod för den här operatorn är SqlInt16.ToSqlString()

Se även

Gäller för

Explicit(SqlInt32 to SqlString)

Källa:
SQLString.cs
Källa:
SQLString.cs
Källa:
SQLString.cs
Källa:
SQLString.cs
Källa:
SQLString.cs

Konverterar den angivna SqlInt32 parametern till SqlString.

public:
 static explicit operator System::Data::SqlTypes::SqlString(System::Data::SqlTypes::SqlInt32 x);
public static explicit operator System.Data.SqlTypes.SqlString(System.Data.SqlTypes.SqlInt32 x);
static member op_Explicit : System.Data.SqlTypes.SqlInt32 -> System.Data.SqlTypes.SqlString
Public Shared Narrowing Operator CType (x As SqlInt32) As SqlString

Parametrar

x
SqlInt32

SqlInt32-strukturen som ska konverteras.

Returer

Ett nytt SqlString objekt som innehåller strängrepresentationen av parametern SqlInt32 .

Kommentarer

Motsvarande metod för den här operatorn är SqlInt32.ToSqlString()

Se även

Gäller för

Explicit(SqlDouble to SqlString)

Källa:
SQLString.cs
Källa:
SQLString.cs
Källa:
SQLString.cs
Källa:
SQLString.cs
Källa:
SQLString.cs

Konverterar den angivna SqlDouble parametern till SqlString.

public:
 static explicit operator System::Data::SqlTypes::SqlString(System::Data::SqlTypes::SqlDouble x);
public static explicit operator System.Data.SqlTypes.SqlString(System.Data.SqlTypes.SqlDouble x);
static member op_Explicit : System.Data.SqlTypes.SqlDouble -> System.Data.SqlTypes.SqlString
Public Shared Narrowing Operator CType (x As SqlDouble) As SqlString

Parametrar

x
SqlDouble

Strukturen SqlDouble som ska konverteras.

Returer

En ny SqlString som innehåller strängrepresentationen av parametern SqlDouble .

Kommentarer

Motsvarande metod för den här operatorn är SqlDouble.ToSqlString()

Se även

Gäller för

Explicit(SqlDecimal to SqlString)

Källa:
SQLString.cs
Källa:
SQLString.cs
Källa:
SQLString.cs
Källa:
SQLString.cs
Källa:
SQLString.cs

Konverterar den angivna SqlDecimal parametern till SqlString.

public:
 static explicit operator System::Data::SqlTypes::SqlString(System::Data::SqlTypes::SqlDecimal x);
public static explicit operator System.Data.SqlTypes.SqlString(System.Data.SqlTypes.SqlDecimal x);
static member op_Explicit : System.Data.SqlTypes.SqlDecimal -> System.Data.SqlTypes.SqlString
Public Shared Narrowing Operator CType (x As SqlDecimal) As SqlString

Parametrar

x
SqlDecimal

Strukturen SqlDecimal som ska konverteras.

Returer

En ny SqlString som innehåller strängrepresentationen av parametern SqlDecimal .

Kommentarer

Motsvarande metod för den här operatorn är SqlDecimal.ToSqlString()

Se även

Gäller för

Explicit(SqlDateTime to SqlString)

Källa:
SQLString.cs
Källa:
SQLString.cs
Källa:
SQLString.cs
Källa:
SQLString.cs
Källa:
SQLString.cs

Konverterar den angivna SqlDateTime parametern till SqlString.

public:
 static explicit operator System::Data::SqlTypes::SqlString(System::Data::SqlTypes::SqlDateTime x);
public static explicit operator System.Data.SqlTypes.SqlString(System.Data.SqlTypes.SqlDateTime x);
static member op_Explicit : System.Data.SqlTypes.SqlDateTime -> System.Data.SqlTypes.SqlString
Public Shared Narrowing Operator CType (x As SqlDateTime) As SqlString

Parametrar

x
SqlDateTime

Strukturen SqlDateTime som ska konverteras.

Returer

En ny SqlString som innehåller strängrepresentationen av parametern SqlDateTime .

Kommentarer

Motsvarande metod för den här operatorn är SqlDateTime.ToSqlString()

Se även

Gäller för

Explicit(SqlByte to SqlString)

Källa:
SQLString.cs
Källa:
SQLString.cs
Källa:
SQLString.cs
Källa:
SQLString.cs
Källa:
SQLString.cs

Konverterar den angivna SqlByte strukturen till SqlString.

public:
 static explicit operator System::Data::SqlTypes::SqlString(System::Data::SqlTypes::SqlByte x);
public static explicit operator System.Data.SqlTypes.SqlString(System.Data.SqlTypes.SqlByte x);
static member op_Explicit : System.Data.SqlTypes.SqlByte -> System.Data.SqlTypes.SqlString
Public Shared Narrowing Operator CType (x As SqlByte) As SqlString

Parametrar

x
SqlByte

Strukturen SqlByte som ska konverteras.

Returer

Ett nytt SqlString objekt som innehåller strängrepresentationen av parametern SqlByte .

Kommentarer

Motsvarande metod för den här operatorn är SqlByte.ToSqlString()

Se även

Gäller för

Explicit(SqlBoolean to SqlString)

Källa:
SQLString.cs
Källa:
SQLString.cs
Källa:
SQLString.cs
Källa:
SQLString.cs
Källa:
SQLString.cs

Konverterar den angivna SqlBoolean strukturen till SqlString.

public:
 static explicit operator System::Data::SqlTypes::SqlString(System::Data::SqlTypes::SqlBoolean x);
public static explicit operator System.Data.SqlTypes.SqlString(System.Data.SqlTypes.SqlBoolean x);
static member op_Explicit : System.Data.SqlTypes.SqlBoolean -> System.Data.SqlTypes.SqlString
Public Shared Narrowing Operator CType (x As SqlBoolean) As SqlString

Parametrar

x
SqlBoolean

Strukturen SqlBoolean som ska konverteras.

Returer

En ny SqlString som innehåller strängrepresentationen av parametern SqlBoolean .

Kommentarer

Motsvarande metod för den här operatorn är SqlBoolean.ToSqlString()

Se även

Gäller för

Explicit(SqlGuid to SqlString)

Källa:
SQLString.cs
Källa:
SQLString.cs
Källa:
SQLString.cs
Källa:
SQLString.cs
Källa:
SQLString.cs

Konverterar den angivna SqlGuid parametern till SqlString.

public:
 static explicit operator System::Data::SqlTypes::SqlString(System::Data::SqlTypes::SqlGuid x);
public static explicit operator System.Data.SqlTypes.SqlString(System.Data.SqlTypes.SqlGuid x);
static member op_Explicit : System.Data.SqlTypes.SqlGuid -> System.Data.SqlTypes.SqlString
Public Shared Narrowing Operator CType (x As SqlGuid) As SqlString

Parametrar

x
SqlGuid

Strukturen SqlGuid som ska konverteras.

Returer

En SqlString vars värde är strängrepresentationen av den angivna SqlGuid.

Kommentarer

Motsvarande metod för den här operatorn är SqlGuid.ToSqlString()

Se även

Gäller för