Export (0) Print
Expand All

ISymbolMethod.GetSourceStartEnd Method

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

Namespace:  System.Diagnostics.SymbolStore
Assembly:  mscorlib (in mscorlib.dll)

bool GetSourceStartEnd(
	ISymbolDocument[] docs,
	int[] lines,
	int[] columns
)

Parameters

docs
Type: System.Diagnostics.SymbolStore.ISymbolDocument[]

The starting and ending source documents.

lines
Type: System.Int32[]

The starting and ending lines in the corresponding source documents.

columns
Type: System.Int32[]

The starting and ending columns in the corresponding source documents.

Return Value

Type: System.Boolean
true if the positions were defined; otherwise, false.

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

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft