# Description

> User defined metadata that provides a description for the memory snapshot.

## Definition

* **Type:** Property
* **Namespace:** [Unity.Profiling.Memory](/engine/6000.5/script-reference/unity/profiling/memory.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
public string Description { get; set; }
```

### Remarks

This propery provides a free form text input method to extend the memory snapshot with extra information such as the context in which the snapshot was taken.

### Examples

```csharp
using System;
using UnityEngine;
using Unity.Profiling.Memory;

public class MemoryProfilerExample : MonoBehaviour
{
    public string levelName = "Default Level Name";

    void Start()
    {
        MemoryProfiler.CreatingMetadata += CreateMetadata;
    }

    void CreateMetadata(MemorySnapshotMetadata metadata)
    {
        metadata.Description = $"This Memory Snapshot capture started at {DateTime.Now} in level {levelName}.";
    }

    void OnDestroy()
    {
        MemoryProfiler.CreatingMetadata -= CreateMetadata;
    }
}
```
