ערוך

שתף באמצעות


FormatterConverter.ToInt64(Object) Method

Definition

Converts a value to a 64-bit signed integer.

public:
 virtual long ToInt64(System::Object ^ value);
public long ToInt64 (object value);
abstract member ToInt64 : obj -> int64
override this.ToInt64 : obj -> int64
Public Function ToInt64 (value As Object) As Long

Parameters

value
Object

The object to convert.

Returns

The converted value or null if the type parameter is null.

Implements

Exceptions

The value parameter is null.

Remarks

This method uses the invariant culture (see CultureInfo.InvariantCulture). To use the current culture or to specify a culture, use the Convert.ToInt64 method instead. For more information, see Int64, Convert, and ValueType.

Applies to