Share via


ISymbolMethod.GetOffset(ISymbolDocument, Int32, Int32) 方法

定义

获取与指定位置对应的方法内的 Microsoft 中间语言 (MSIL) 偏移量。

public:
 int GetOffset(System::Diagnostics::SymbolStore::ISymbolDocument ^ document, int line, int column);
public int GetOffset (System.Diagnostics.SymbolStore.ISymbolDocument document, int line, int column);
abstract member GetOffset : System.Diagnostics.SymbolStore.ISymbolDocument * int * int -> int
Public Function GetOffset (document As ISymbolDocument, line As Integer, column As Integer) As Integer

参数

document
ISymbolDocument

为其请求偏移量的文档。

line
Int32

与偏移量对应的文档行。

column
Int32

与偏移量对应的文档列。

返回

指定文档内的偏移量。

注解

参数按在 方法的签名中定义的顺序返回。

适用于