FormatterConverter.ToInt64(Object) Método
Definição
Converte um valor em um inteiro com sinal de 64 bits.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
Parâmetros
- value
- Object
O objeto a ser convertido.The object to convert.
Retornos
O value convertido ou então null, se o parâmetro type é null.The converted value or null if the type parameter is null.
Implementações
Exceções
O parâmetro value é null.The value parameter is null.
Comentários
Esse método usa a cultura invariável (consulte CultureInfo.InvariantCulture ).This method uses the invariant culture (see CultureInfo.InvariantCulture). Para usar a cultura atual ou para especificar uma cultura, use o Convert.ToInt64 método em vez disso.To use the current culture or to specify a culture, use the Convert.ToInt64 method instead. Para obter mais informações, consulte Int64, Convert e ValueType.For more information, see Int64, Convert, and ValueType.