語言

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

文件欄位對應偏移量。

傳回

指定文件內的偏移量。

備註

參數依照在方法簽名中定義的順序回傳。

適用於