## IConvertible::ToInt64 method


Converts the value of this instance to an equivalent 64-bit signed integer using the specified culture-specific formatting information.

```cpp
virtual int64_t System::IConvertible::ToInt64(System::SharedPtr<System::IFormatProvider> provider)=0
```


| Parameter | Type | Description |
| --- | --- | --- |
| provider | System::SharedPtr\<System::IFormatProvider\> | A [System::IFormatProvider](../../iformatprovider/) interface implementation that supplies culture-specific formatting information. |

### ReturnValue

A 64-bit signed integer equivalent to the value of this instance.

## See Also

* Typedef [SharedPtr](../../sharedptr/)
* Class [IFormatProvider](../../iformatprovider/)
* Class [IConvertible](../)
* Namespace [System](../../)
* Library [Aspose.PDF for C++](../../../)
