System.Diagnostics.SymbolStore.SymDocument.FindClosestLine C# (CSharp) Method

FindClosestLine() public method

public FindClosestLine ( int line ) : int
line int
return int
        public int FindClosestLine(int line)
        {
            int hr;
            int ClosestLine = 0;
            COMException Exception;
            hr = SymDocument_FindClosestLine(m_Document, line, out ClosestLine);
            if (hr < 0)
            {
                Exception = new COMException("Call to FindClosestLine failed.", hr);
                throw Exception;
            }
            return ClosestLine;
        }