SqlMoney.Explicit SqlMoney.Explicit SqlMoney.Explicit SqlMoney.Explicit Operator

Definition

Overloads

Explicit(SqlBoolean to SqlMoney) Explicit(SqlBoolean to SqlMoney) Explicit(SqlBoolean to SqlMoney) Explicit(SqlBoolean to SqlMoney)

This implicit operator converts the supplied SqlBoolean parameter to SqlMoney.

Explicit(SqlDecimal to SqlMoney) Explicit(SqlDecimal to SqlMoney) Explicit(SqlDecimal to SqlMoney) Explicit(SqlDecimal to SqlMoney)

This operator converts the supplied SqlDecimal parameter to SqlMoney.

Explicit(SqlDouble to SqlMoney) Explicit(SqlDouble to SqlMoney) Explicit(SqlDouble to SqlMoney) Explicit(SqlDouble to SqlMoney)

This operator converts the supplied SqlDouble parameter to SqlMoney.

Explicit(SqlMoney to Decimal) Explicit(SqlMoney to Decimal) Explicit(SqlMoney to Decimal) Explicit(SqlMoney to Decimal)

Converts the specified SqlMoney structure to Decimal.

Explicit(SqlSingle to SqlMoney) Explicit(SqlSingle to SqlMoney) Explicit(SqlSingle to SqlMoney) Explicit(SqlSingle to SqlMoney)

This operator converts the supplied SqlSingle parameter to SqlMoney.

Explicit(SqlString to SqlMoney) Explicit(SqlString to SqlMoney) Explicit(SqlString to SqlMoney) Explicit(SqlString to SqlMoney)

This operator converts the SqlString parameter to SqlMoney.

Explicit(Double to SqlMoney) Explicit(Double to SqlMoney) Explicit(Double to SqlMoney) Explicit(Double to SqlMoney)

This implicit operator converts the supplied SqlDouble parameter to SqlMoney.

Explicit(SqlBoolean to SqlMoney) Explicit(SqlBoolean to SqlMoney) Explicit(SqlBoolean to SqlMoney) Explicit(SqlBoolean to SqlMoney)

This implicit operator converts the supplied SqlBoolean parameter to SqlMoney.

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

Parameters

x
SqlBoolean SqlBoolean SqlBoolean SqlBoolean

The SqlBoolean structure to be converted.

Returns

A new SqlMoney structure whose Value property equals the ByteValue property of the SqlBoolean parameter.

Remarks

The equivalent method for this operator is SqlBoolean.ToSqlMoney()

See also

Explicit(SqlDecimal to SqlMoney) Explicit(SqlDecimal to SqlMoney) Explicit(SqlDecimal to SqlMoney) Explicit(SqlDecimal to SqlMoney)

This operator converts the supplied SqlDecimal parameter to SqlMoney.

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

Parameters

x
SqlDecimal SqlDecimal SqlDecimal SqlDecimal

The SqlDecimal structure to be converted.

Returns

A new SqlMoney structure whose Value property equals the Value of the SqlDecimal parameter.

Remarks

The equivalent method for this operator is SqlDecimal.ToSqlMoney()

See also

Explicit(SqlDouble to SqlMoney) Explicit(SqlDouble to SqlMoney) Explicit(SqlDouble to SqlMoney) Explicit(SqlDouble to SqlMoney)

This operator converts the supplied SqlDouble parameter to SqlMoney.

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

Parameters

x
SqlDouble SqlDouble SqlDouble SqlDouble

The SqlDouble structure to be converted.

Returns

A new SqlMoney structure whose Value property equals the Value of the SqlDouble parameter.

Remarks

The equivalent method for this operator is SqlDouble.ToSqlMoney()

See also

Explicit(SqlMoney to Decimal) Explicit(SqlMoney to Decimal) Explicit(SqlMoney to Decimal) Explicit(SqlMoney to Decimal)

Converts the specified SqlMoney structure to Decimal.

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

Parameters

Returns

A new Decimal structure whose value equals the Value of the SqlMoney parameter.

Remarks

The equivalent method for this operator is SqlMoney.ToDecimal()

See also

Explicit(SqlSingle to SqlMoney) Explicit(SqlSingle to SqlMoney) Explicit(SqlSingle to SqlMoney) Explicit(SqlSingle to SqlMoney)

This operator converts the supplied SqlSingle parameter to SqlMoney.

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

Parameters

x
SqlSingle SqlSingle SqlSingle SqlSingle

The SqlSingle structure to be converted.

Returns

A new SqlMoney structure whose Value property equals the Value of the SqlSingle parameter.

Remarks

The equivalent method for this operator is SqlSingle.ToSqlMoney()

See also

Explicit(SqlString to SqlMoney) Explicit(SqlString to SqlMoney) Explicit(SqlString to SqlMoney) Explicit(SqlString to SqlMoney)

This operator converts the SqlString parameter to SqlMoney.

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

Parameters

x
SqlString SqlString SqlString SqlString

The SqlString object to be converted.

Returns

A new SqlMoney structure whose Value property equals the value represented by the SqlString parameter.

Remarks

The equivalent method for this operator is SqlString.ToSqlMoney()

See also

Explicit(Double to SqlMoney) Explicit(Double to SqlMoney) Explicit(Double to SqlMoney) Explicit(Double to SqlMoney)

This implicit operator converts the supplied SqlDouble parameter to SqlMoney.

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

Parameters

x
Double Double Double Double

The SqlDouble structure to be converted.

Returns

A new SqlMoney structure whose Value property equals the ByteValue property of the SqlDouble parameter.

Remarks

The equivalent method for this operator is SqlDouble.ToSqlMoney()

See also

Applies to