Breyta

Deila með


SqlString.Explicit Operator

Definition

Converts to and from a SqlString.

Overloads

Explicit(SqlString to String)

Converts a SqlString to a String.

Explicit(SqlSingle to SqlString)

Converts the specified SqlSingle parameter to SqlString.

Explicit(SqlMoney to SqlString)

Converts the specified SqlMoney parameter to SqlString.

Explicit(SqlInt64 to SqlString)

Converts the specified SqlInt64 parameter to SqlString.

Explicit(SqlInt16 to SqlString)

Converts the specified SqlInt16 parameter to SqlString.

Explicit(SqlInt32 to SqlString)

Converts the specified SqlInt32 parameter to SqlString.

Explicit(SqlDouble to SqlString)

Converts the specified SqlDouble parameter 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)

Converts the specified SqlByte structure to SqlString.

Explicit(SqlBoolean to SqlString)

Converts the specified SqlBoolean structure to SqlString.

Explicit(SqlGuid to SqlString)

Converts the specified SqlGuid parameter to SqlString.

Explicit(SqlString to String)

Source:
SQLString.cs
Source:
SQLString.cs
Source:
SQLString.cs

Converts a SqlString to a 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

Parameters

x
SqlString

The SqlString to be converted.

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

Converts the specified SqlSingle parameter to 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

Parameters

x
SqlSingle

The SqlSingle structure to be converted.

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

Converts the specified SqlMoney parameter to 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

Parameters

x
SqlMoney

The SqlMoney structure to be converted.

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

Converts the specified SqlInt64 parameter to 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

Parameters

x
SqlInt64

The SqlInt64 structure to be converted.

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

Converts the specified SqlInt16 parameter to 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

Parameters

x
SqlInt16

The SqlInt16 structure to be converted.

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

Converts the specified SqlInt32 parameter to 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

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

Converts the specified SqlDouble parameter to 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

Parameters

x
SqlDouble

The SqlDouble structure to be converted.

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

x
SqlDecimal

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

x
SqlDateTime

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

Converts the specified SqlByte structure to 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

Parameters

x
SqlByte

The SqlByte structure to be converted.

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

x
SqlBoolean

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

Converts the specified SqlGuid parameter to 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

Parameters

x
SqlGuid

The SqlGuid structure to be converted.

Returns

A SqlString whose value is the string representation of the specified SqlGuid.

Remarks

The equivalent method for this operator is SqlGuid.ToSqlString()

See also

Applies to