NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

StackFrame.GetILOffset

Gets the offset from the start of the IL code for the method being executed. This offset may be approximate depending on whether the JIT compiler is generating debugging code or not.

[Visual Basic]
Overridable Public Function GetILOffset() As Integer
[C#]
public virtual int GetILOffset();
[C++]
public: virtual int GetILOffset();
[JScript]
public function GetILOffset() : int;

Return Value

The offset from the start of the IL code for the method being executed.

See Also

StackFrame Class | StackFrame Members | System.Diagnostics Namespace