SqlString.Explicit Operator
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Converts to and from a SqlString.
Overloads
Explicit(SqlString to String) | |
Explicit(SqlSingle to SqlString) | |
Explicit(SqlMoney to SqlString) | |
Explicit(SqlInt64 to SqlString) | |
Explicit(SqlInt16 to SqlString) | |
Explicit(SqlInt32 to SqlString) | |
Explicit(SqlDouble to SqlString) | |
Explicit(SqlDecimal to SqlString) |
Converts the specified SqlDecimal parameter to SqlString. |
Explicit(SqlDateTime to SqlString) |
Converts the specified SqlDateTime parameter to SqlString. |
Explicit(SqlByte to SqlString) | |
Explicit(SqlBoolean to SqlString) |
Converts the specified SqlBoolean structure to SqlString. |
Explicit(SqlGuid to SqlString) |
Explicit(SqlString to String)
- Source:
- SQLString.cs
- Source:
- SQLString.cs
- Source:
- SQLString.cs
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
Parameters
Returns
A String
, whose contents are the same as the Value property of the SqlString parameter.
See also
Applies to
Explicit(SqlSingle to SqlString)
- Source:
- SQLString.cs
- Source:
- SQLString.cs
- Source:
- SQLString.cs
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
Parameters
Returns
A new SqlString that contains the string representation of the SqlSingle parameter.
Remarks
The equivalent method for this operator is SqlSingle.ToSqlString().
See also
Applies to
Explicit(SqlMoney to SqlString)
- Source:
- SQLString.cs
- Source:
- SQLString.cs
- Source:
- SQLString.cs
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
Parameters
Returns
A new SqlString that contains the string representation of the SqlMoney parameter.
Remarks
The equivalent method for this operator is SqlMoney.ToSqlString()
See also
Applies to
Explicit(SqlInt64 to SqlString)
- Source:
- SQLString.cs
- Source:
- SQLString.cs
- Source:
- SQLString.cs
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
Parameters
Returns
A new SqlString object that contains the string representation of the SqlInt64 parameter.
Remarks
The equivalent method for this operator is SqlInt64.ToSqlString()
See also
Applies to
Explicit(SqlInt16 to SqlString)
- Source:
- SQLString.cs
- Source:
- SQLString.cs
- Source:
- SQLString.cs
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
Parameters
Returns
A new SqlString object that contains the string representation of the SqlInt16 parameter.
Remarks
The equivalent method for this operator is SqlInt16.ToSqlString()
See also
Applies to
Explicit(SqlInt32 to SqlString)
- Source:
- SQLString.cs
- Source:
- SQLString.cs
- Source:
- SQLString.cs
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
Parameters
- x
- SqlInt32
The SqlInt32 structure to be converted.
Returns
A new SqlString object that contains the string representation of the SqlInt32 parameter.
Remarks
The equivalent method for this operator is SqlInt32.ToSqlString()
See also
Applies to
Explicit(SqlDouble to SqlString)
- Source:
- SQLString.cs
- Source:
- SQLString.cs
- Source:
- SQLString.cs
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
Parameters
Returns
A new SqlString that contains the string representation of the SqlDouble parameter.
Remarks
The equivalent method for this operator is SqlDouble.ToSqlString()
See also
Applies to
Explicit(SqlDecimal to SqlString)
- Source:
- SQLString.cs
- Source:
- SQLString.cs
- Source:
- SQLString.cs
Converts the specified SqlDecimal parameter to 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
Parameters
The SqlDecimal
structure to be converted.
Returns
A new SqlString that contains the string representation of the SqlDecimal
parameter.
Remarks
The equivalent method for this operator is SqlDecimal.ToSqlString()
See also
Applies to
Explicit(SqlDateTime to SqlString)
- Source:
- SQLString.cs
- Source:
- SQLString.cs
- Source:
- SQLString.cs
Converts the specified SqlDateTime parameter to 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
Parameters
The SqlDateTime structure to be converted.
Returns
A new SqlString that contains the string representation of the SqlDateTime parameter.
Remarks
The equivalent method for this operator is SqlDateTime.ToSqlString()
See also
Applies to
Explicit(SqlByte to SqlString)
- Source:
- SQLString.cs
- Source:
- SQLString.cs
- Source:
- SQLString.cs
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
Parameters
Returns
A new SqlString object that contains the string representation of the SqlByte parameter.
Remarks
The equivalent method for this operator is SqlByte.ToSqlString()
See also
Applies to
Explicit(SqlBoolean to SqlString)
- Source:
- SQLString.cs
- Source:
- SQLString.cs
- Source:
- SQLString.cs
Converts the specified SqlBoolean structure to 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
Parameters
The SqlBoolean structure to be converted.
Returns
A new SqlString that contains the string representation of the SqlBoolean parameter.
Remarks
The equivalent method for this operator is SqlBoolean.ToSqlString()
See also
Applies to
Explicit(SqlGuid to SqlString)
- Source:
- SQLString.cs
- Source:
- SQLString.cs
- Source:
- SQLString.cs
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
Parameters
Returns
A SqlString whose value is the string representation of the specified SqlGuid.
Remarks
The equivalent method for this operator is SqlGuid.ToSqlString()