ISymbolWriter.DefineSequencePoints(ISymbolDocumentWriter, Int32[], Int32[], Int32[], Int32[], Int32[]) 方法

定义

在当前方法内定义一组序列点。Defines a group of sequence points within the current method.

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

参数

document
ISymbolDocumentWriter

正在为其定义序列点的文档对象。The document object for which the sequence points are being defined.

offsets
Int32[]

从方法开始测量的序列点偏移量。The sequence point offsets measured from the beginning of methods.

lines
Int32[]

序列点的文档行。The document lines for the sequence points.

columns
Int32[]

序列点的文档位置。The document positions for the sequence points.

endLines
Int32[]

序列点的文档结束行。The document end lines for the sequence points.

endColumns
Int32[]

序列点的文档结束位置。The document end positions for the sequence points.

注解

每行和每列都定义方法中语句的开头。Each line and each column defines the start of a statement within a method. 应按偏移量的递增顺序对数组进行排序。The arrays should be sorted in increasing order of offsets. 偏移量始终是从方法开始处的偏移量(以字节为单位)。The offset is always the offset from the start of the method, in bytes.

适用于