# HierarchyPropertyString

> Provides access to string property data.

## Definition

* **Type:** Struct
* **Namespace:** [Unity.Hierarchy](/engine/6000.7/script-reference/unity/hierarchy.md)
* **Assembly:** UnityEngine.HierarchyCoreModule
* **Implements:** [IEquatable\<HierarchyPropertyString>](https://learn.microsoft.com/dotnet/api/system.iequatable-1), [IHierarchyProperty\<string>](/engine/6000.7/script-reference/unity/hierarchy/ihierarchyproperty1.md)

```csharp
public readonly struct HierarchyPropertyString : IEquatable<HierarchyPropertyString>, IHierarchyProperty<string>
```

## Properties

| Property                                                                                          | Description                                     |
| ------------------------------------------------------------------------------------------------- | ----------------------------------------------- |
| [IsCreated](/engine/6000.7/script-reference/unity/hierarchy/hierarchypropertystring/iscreated.md) | Returns `true` if the native property is valid. |

## Methods

| Method                                                                                              | Description                                                                                                              |
| --------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------ |
| [ClearValue](/engine/6000.7/script-reference/unity/hierarchy/hierarchypropertystring/clearvalue.md) | Removes the property value for a [HierarchyNode](/engine/6000.7/script-reference/unity/hierarchy/hierarchynode.md).      |
| [GetValue](/engine/6000.7/script-reference/unity/hierarchy/hierarchypropertystring/getvalue.md)     | Gets the property value for the given [HierarchyNode](/engine/6000.7/script-reference/unity/hierarchy/hierarchynode.md). |
| [SetValue](/engine/6000.7/script-reference/unity/hierarchy/hierarchypropertystring/setvalue.md)     | Sets the property value for a [HierarchyNode](/engine/6000.7/script-reference/unity/hierarchy/hierarchynode.md).         |
