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

## PropertyRef::GetKey method




```cpp
static uint64_t System::Text::Json::Serialization::Metadata::PropertyRef::GetKey(ReadOnlySpan<uint8_t> name)
```

## See Also

* Class [ReadOnlySpan](../../../system/readonlyspan/)
* Class [PropertyRef](../)
* Namespace [System::Text::Json::Serialization::Metadata](../../)
* Library [Aspose.PDF for C++](../../../)
