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.GetSourceStartEnd

Get the start and end positions for the source of the current method.

[Visual Basic]
Function GetSourceStartEnd( _
   ByVal docs() As ISymbolDocument, _
   ByVal lines() As Integer, _
   ByVal columns() As Integer _
) As Boolean
[C#]
bool GetSourceStartEnd(
   ISymbolDocument[] docs,
   int[] lines,
   int[] columns
);
[C++]
bool GetSourceStartEnd(
   ISymbolDocument* docs[],
   int* lines[],
   int* columns[]
) = 0;
[JScript]
function GetSourceStartEnd(
   docs : ISymbolDocument[],
   lines : int[],
   columns : int[]
) : Boolean;

Parameters

docs
The starting and ending source documents.
lines
The starting and ending lines in the corresponding source documents.
columns
The starting and ending columns in the corresponding source documents.

Return Value

true if the positions were defined; otherwise, false.

Remarks

The first array position is the start, and the second is the end.

See Also

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