語言

ISymbolMethod.GetSequencePoints 方法

定義

取得目前方法的序列點數。

public:
 void GetSequencePoints(cli::array <int> ^ offsets, cli::array <System::Diagnostics::SymbolStore::ISymbolDocument ^> ^ documents, cli::array <int> ^ lines, cli::array <int> ^ columns, cli::array <int> ^ endLines, cli::array <int> ^ endColumns);
public void GetSequencePoints(int[]? offsets, System.Diagnostics.SymbolStore.ISymbolDocument[]? documents, int[]? lines, int[]? columns, int[]? endLines, int[]? endColumns);
public void GetSequencePoints(int[] offsets, System.Diagnostics.SymbolStore.ISymbolDocument[] documents, int[] lines, int[] columns, int[] endLines, int[] endColumns);
abstract member GetSequencePoints : int[] * System.Diagnostics.SymbolStore.ISymbolDocument[] * int[] * int[] * int[] * int[] -> unit
Public Sub GetSequencePoints (offsets As Integer(), documents As ISymbolDocument(), lines As Integer(), columns As Integer(), endLines As Integer(), endColumns As Integer())

參數

offsets
Int32[]

序列點從方法開始起點的位元組偏移量陣列。

documents
ISymbolDocument[]

序列點所在的文件陣列。

lines
Int32[]

文件中序列指向的行列陣列。

columns
Int32[]

文件中序列點所在欄位的陣列。

endLines
Int32[]

文件中序列指向的行數陣列。

endColumns
Int32[]

文件中序列指向的欄位陣列。

備註

序列點依偏移量排序,且對應方法中所有文件。 用 SequencePointCount 來取得所有序列點的計數,並建立適當大小的陣列。

GetSequencePoints 驗證每個陣列的大小,並將序列點資訊放入每個陣列中。 若任一陣列為 null,該陣列的資料不會回傳。

適用於