共用方式為


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的索引。

適用於