Version: 2021.3

HierarchyFrameDataView.GetItemMergedSamplesInstanceID

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

参数

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

描述

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

When HierarchyFrameDataView uses ViewMode.MergeSamplesWithTheSameName mode, multiple samples with the same name at the same hierarchy level are merged together and are represented by a single item. Respectively 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.

另请参阅:GetItemInstanceID