## FormatterConverter::ToUInt16 method


Converts a value to a uint16_t.

```cpp
uint16_t System::Runtime::Serialization::FormatterConverter::ToUInt16(System::SharedPtr<Object> value) override
```


| Parameter | Type | Description |
| --- | --- | --- |
| value | System::SharedPtr\<Object\> | The object to be converted. |

### ReturnValue

The converted value.

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Object](../../../system/object/)
* Class [FormatterConverter](../)
* Namespace [System::Runtime::Serialization](../../)
* Library [Aspose.PUB for C++](../../../)
