---
title: "System::Text::Json::Serialization::Converters::UInt16Converter::WriteNumberWithCustomHandling method"
url: "https://reference.aspose.com/pdf/cpp/system.text.json.serialization.converters/uint16converter/writenumberwithcustomhandling/"
product: "Aspose.PDF for C++ API Reference"
description: "How to use WriteNumberWithCustomHandling method of System::Text::Json::Serialization::Converters::UInt16Converter class in C++."
---

## UInt16Converter::WriteNumberWithCustomHandling method




```cpp
void System::Text::Json::Serialization::Converters::UInt16Converter::WriteNumberWithCustomHandling(System::SharedPtr<Utf8JsonWriter> writer, uint16_t value, JsonNumberHandling handling) override
```

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Utf8JsonWriter](../../../system.text.json/utf8jsonwriter/)
* Enum [JsonNumberHandling](../../../system.text.json.serialization/jsonnumberhandling/)
* Class [UInt16Converter](../)
* Namespace [System::Text::Json::Serialization::Converters](../../)
* Library [Aspose.PDF for C++](../../../)
