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!

ISymbolMethod.GetOffset

Gets the offset within the method that corresponds to the specified position.

[Visual Basic]
Function GetOffset( _
   ByVal document As ISymbolDocument, _
   ByVal line As Integer, _
   ByVal column As Integer _
) As Integer
[C#]
int GetOffset(
   ISymbolDocument document,
   int line,
   int column
);
[C++]
int GetOffset(
   ISymbolDocument* document,
   int line,
   int column
) = 0;
[JScript]
function GetOffset(
   document : ISymbolDocument,
   line : int,
   column : int
) : int;

Parameters

document
The document for which the offset is requested.
line
The document line corresponding to the offset.
column
The document column corresponding to the offset.

Return Value

The offset within the specified document.

Remarks

The parameters are returned in the order they are defined within the method's signature.

See Also

ISymbolMethod Interface | ISymbolMethod Members | System.Diagnostics.SymbolStore Namespace