GeneratorPositionHelper.FromIndexAndOffset(Int32, Int32) 方法

定義

使用索引和位移所提供的值,建立 GeneratorPosition 值。 C# 和 Microsoft Visual Basic 程式碼應該改用 GeneratorPosition (Int32,Int32)

public:
 static GeneratorPosition FromIndexAndOffset(int index, int offset);
 static GeneratorPosition FromIndexAndOffset(int const& index, int const& offset);
public static GeneratorPosition FromIndexAndOffset(int index, int offset);
function fromIndexAndOffset(index, offset)
Public Shared Function FromIndexAndOffset (index As Integer, offset As Integer) As GeneratorPosition

參數

index
Int32

int

要用來建立的索引值。

offset
Int32

int

要用來建立的位移值。

傳回

具有所需值的已建立 GeneratorPosition 結構。

適用於