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!

ISymbolReader.GetMethodFromDocumentPosition

Gets the symbol reader method object that contains the specified position in a document.

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

Parameters

document
The document in which the method is located.
line
The position of the line within the document. Lines are numbered beginning at 1.
column
The position of column within the document. Columns are numbered beginning at 1.

Return Value

The reader method object for the specified position in the document.

See Also

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