System.Diagnostics.SymbolStore.SymMethod.GetOffset C# (CSharp) Méthode

GetOffset() public méthode

public GetOffset ( ISymbolDocument document, int line, int column ) : int
document ISymbolDocument
line int
column int
Résultat int
        public int GetOffset(ISymbolDocument document,
            int line,
            int column)
        {
            int hr;
            int offset =0;
            COMException Exception;
            hr = SymMethod_GetOffset(m_Method, 
                                    ((SymDocument)document).InternalDocument,
                                    line,
                                    column,
                                    out offset);
            if (hr < 0)
            {
                Exception = new COMException("Call to GetOffset failed.", hr);
                throw Exception;
            }

            return offset;
        }
        public SymbolToken Token