# GetItemMergedSamplesColumnData(int, int, List<string>)

> Use to retrieve a values of merged samples of a hierarchy item.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor.Profiling](/engine/6000.3/script-reference/unityeditor/profiling.md)
* **Assembly:** UnityEditor

```csharp
public void GetItemMergedSamplesColumnData(int id, int column, List<string> outStrings)
```

### Parameters

**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): Hierarchy item identifier.**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): Column identifier.**** (\[List\<string>]\(https\://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)): List filled with values of merged samples as a result of a method call.

### Remarks

When MergeSamplesWithTheSameName is active, multiple samples with the same name at the same hierarchy level are merged together and are represented by a single item. Respectively [HierarchyFrameDataView.GetItemColumnData](/engine/6000.3/script-reference/unityeditor/profiling/hierarchyframedataview/getitemcolumndata.md) in this case represents an aggregated value.

*GetItemMergedSamplesColumnData* allows to obtain values of individual samples in merged hierarchy.

The result is written to *outStrings* list which is resized if necessary.

Additional Resources: [HierarchyFrameDataView.GetItemColumnData](/engine/6000.3/script-reference/unityeditor/profiling/hierarchyframedataview/getitemcolumndata.md), [HierarchyFrameDataView.GetItemMergedSamplesCount](/engine/6000.3/script-reference/unityeditor/profiling/hierarchyframedataview/getitemmergedsamplescount.md).
