SymMethod.GetOffset(ISymbolDocument, Int32, Int32) Method

Definition

Gets the Microsoft intermediate language (MSIL) offset within the method that corresponds to the specified position.

C#
public override int GetOffset(System.Diagnostics.SymbolStore.ISymbolDocument document, int line, int column);
C#
public virtual int GetOffset(System.Diagnostics.SymbolStore.ISymbolDocument document, int line, int column);

Parameters

document
ISymbolDocument

The document for which the offset is requested.

line
Int32

The document line for which the offset is requested.

column
Int32

The document column for which the offset is requested.

Returns

The IL offset within the current method of the specified location in the document.

Implements

Applies to

Product Versions
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1