> ## Documentation Index
> Fetch the complete documentation index at: https://easyaf.nimbleapps.cloud/llms.txt
> Use this file to discover all available pages before exploring further.

# XmlCharHandling

> Specifies how a [Char](https://learn.microsoft.com/dotnet/api/system.char) is written and read.

## Definition

**Assembly:** CloudNimble.XmlEssentials.dll

**Namespace:** CloudNimble.Text.Xml

**Inheritance:** System.Enum

## Syntax

```csharp theme={"dark"}
CloudNimble.Text.Xml.XmlCharHandling
```

## Summary

Specifies how a [Char](https://learn.microsoft.com/dotnet/api/system.char) is written and read.

## Values

| Name | Value | Description |
| - | - | - |
| `Character` | 0 | The character itself, such as `a`. This is the default. |
| `Number` | 1 | The number of the character's UTF-16 code unit, such as `97` for `a`. This is what |
| `System.Xml.Serialization.XmlSerializer` writes. | | |

## Related APIs

* System.IComparable
* System.ISpanFormattable
* System.IFormattable
* System.IConvertible


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.