## IConvertible::ToInt16 method


Converte il valore di questa istanza in un intero con segno a 16 bit equivalente usando le informazioni di formattazione specifiche della cultura specificata.

```cpp
virtual int16_t System::IConvertible::ToInt16(System::SharedPtr<System::IFormatProvider> provider)=0
```


| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| provider | System::SharedPtr\<System::IFormatProvider\> | Una implementazione dell'interfaccia [System::IFormatProvider](../../iformatprovider/) che fornisce informazioni di formattazione specifiche della cultura. |

### ReturnValue

Un intero con segno a 16 bit equivalente al valore di questa istanza.

## Vedi anche

* Typedef [SharedPtr](../../sharedptr/)
* Class [IFormatProvider](../../iformatprovider/)
* Class [IConvertible](../)
* Namespace [System](../../)
* Library [Aspose.Font for C++](../../../)
