SymDocument.FindClosestLine Method (Int32)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Returns the line number of the closest line that is a sequence point, given a line in the current document that might or might not be a sequence point.

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

public virtual int FindClosestLine(
	int line


Type: System.Int32

The specified line in the document.

Return Value

Type: System.Int32

The line number of the closest sequence point to the specified line.

.NET Framework
Available since 1.1
Return to top