Version: 2023.2

HierarchyFrameDataView.GetItemMergedSamplesInstanceID

切换到手册
public void GetItemMergedSamplesInstanceID (int id, List<int> outInstanceIds);

参数

id 层级视图项标识符。
outInstanceIds 使用合并样本的 InstanceID 值填充的列表(作为方法调用的结果)。

描述

获取与层级视图项对应的合并样本的 instanceID。

When HierarchyFrameDataView.ViewMode.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 in this case represents an aggregated value.
GetItemMergedSamplesColumnData allows to obtain values of individual samples in merged hierarchy.
The result is written to outInstanceIds list which is resized if necessary.

Additional resources: HierarchyFrameDataView.GetItemInstanceID.