ItemContainerGenerator.IndexFromGeneratorPosition(GeneratorPosition) 方法

定义

返回映射到指定 GeneratorPosition 的索引。

public:
 virtual int IndexFromGeneratorPosition(GeneratorPosition position) = IndexFromGeneratorPosition;
int IndexFromGeneratorPosition(GeneratorPosition const& position);
public int IndexFromGeneratorPosition(GeneratorPosition position);
function indexFromGeneratorPosition(position)
Public Function IndexFromGeneratorPosition (position As GeneratorPosition) As Integer

参数

position
GeneratorPosition

所需索引的 GeneratorPosition

返回

Int32

int

映射到指定 GeneratorPosition 的索引。

适用于