---
title: "Aspose::Pub::Utils::EscherOptionalDataDict::AddComplexField method"
url: "https://reference.aspose.com/pub/cpp/aspose.pub.utils/escheroptionaldatadict/addcomplexfield/"
product: "Aspose.PUB for C++"
description: "How to use AddComplexField method of Aspose::Pub::Utils::EscherOptionalDataDict class in C++."
---

## EscherOptionalDataDict::AddComplexField method




```cpp
void Aspose::Pub::Utils::EscherOptionalDataDict::AddComplexField(uint16_t key, System::ArrayPtr<uint8_t> value)
```

## See Also

* Typedef [ArrayPtr](../../../system/arrayptr/)
* Class [EscherOptionalDataDict](../)
* Namespace [Aspose::Pub::Utils](../../)
* Library [Aspose.PUB for C++](../../../)
