Show / Hide Table of Contents

Operator Explicit

| Improve this Doc View Source

Explicit(_Int32 to _String)

Converts the supplied _Int32 to _String.

Declaration
public static explicit operator _String(_Int32 x)
Parameters
Type Name Description
_Int32 x

A _Int32 object.

Returns
Type Description
_String

A _String expression which contains the result.

| Improve this Doc View Source

Explicit(_Boolean to _Int32)

Converts the supplied _Boolean to _Int32.

Declaration
public static explicit operator _Int32(_Boolean x)
Parameters
Type Name Description
_Boolean x

A _Boolean object.

Returns
Type Description
_Int32

A _Int32 expression which contains the result.

| Improve this Doc View Source

Explicit(_Int64 to _Int32)

Converts the supplied _Int64 to _Int32.

Declaration
public static explicit operator _Int32(_Int64 x)
Parameters
Type Name Description
_Int64 x

A _Int64 object.

Returns
Type Description
_Int32

A _Int64 expression which contains the result.

| Improve this Doc View Source

Explicit(_Decimal to _Int32)

Converts the supplied _Decimal to _Int32.

Declaration
public static explicit operator _Int32(_Decimal x)
Parameters
Type Name Description
_Decimal x

A _Decimal object.

Returns
Type Description
_Int32

A _Int32 expression which contains the result.

| Improve this Doc View Source

Explicit(_Double to _Int32)

Converts the supplied _Double to _Int32.

Declaration
public static explicit operator _Int32(_Double x)
Parameters
Type Name Description
_Double x

A _Double object.

Returns
Type Description
_Int32

A _Int32 expression which contains the result.

| Improve this Doc View Source

Explicit(_Single to _Int32)

Converts the supplied _Single to _Int32.

Declaration
public static explicit operator _Int32(_Single x)
Parameters
Type Name Description
_Single x

A _Single object.

Returns
Type Description
_Int32

A _Int32 expression which contains the result.

| Improve this Doc View Source

Explicit(_String to _Int32)

Converts the supplied _String to _Int32.

Declaration
public static explicit operator _Int32(_String x)
Parameters
Type Name Description
_String x

A _String object.

Returns
Type Description
_Int32

A _Int32 expression which contains the result.

  • Improve this Doc
  • View Source
Back to top Copyright © Weifen Luo | DevZest