ISymbolMethod.GetSourceStartEnd(ISymbolDocument[], Int32[], Int32[]) Method

Definition

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

public:
 bool GetSourceStartEnd(cli::array <System::Diagnostics::SymbolStore::ISymbolDocument ^> ^ docs, cli::array <int> ^ lines, cli::array <int> ^ columns);
public bool GetSourceStartEnd (System.Diagnostics.SymbolStore.ISymbolDocument[]? docs, int[]? lines, int[]? columns);
public bool GetSourceStartEnd (System.Diagnostics.SymbolStore.ISymbolDocument[] docs, int[] lines, int[] columns);
abstract member GetSourceStartEnd : System.Diagnostics.SymbolStore.ISymbolDocument[] * int[] * int[] -> bool
Public Function GetSourceStartEnd (docs As ISymbolDocument(), lines As Integer(), columns As Integer()) As Boolean

Parameters

docs
ISymbolDocument[]

The starting and ending source documents.

lines
Int32[]

The starting and ending lines in the corresponding source documents.

columns
Int32[]

The starting and ending columns in the corresponding source documents.

Returns

true if the positions were defined; otherwise, false.

Remarks

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

Applies to