---
title: "System::Text::Json::Serialization::Metadata::JsonTypeInfo::set_CreateObject method"
url: "https://reference.aspose.com/pdf/cpp/system.text.json.serialization.metadata/jsontypeinfo/set_createobject/"
product: "Aspose.PDF for C++ API Reference"
description: "How to use set_CreateObject method of System::Text::Json::Serialization::Metadata::JsonTypeInfo class in C++."
---

## JsonTypeInfo::set_CreateObject method




```cpp
void System::Text::Json::Serialization::Metadata::JsonTypeInfo<T>::set_CreateObject(Func<T> value)
```

## See Also

* Class [Func](../../../system/func/)
* Class [JsonTypeInfo](../)
* Namespace [System::Text::Json::Serialization::Metadata](../../)
* Library [Aspose.PDF for C++](../../../)
