Share via


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,则不返回该数组的数据。

适用于