CSReportDll.cReportCompiler.pGetIdFunction C# (CSharp) Méthode

pGetIdFunction() private méthode

private pGetIdFunction ( String name ) : csRptFormulaType
name String
Résultat csRptFormulaType
        private csRptFormulaType pGetIdFunction(String name)
        {
            cReportFormulaType f = null;

            name = name.ToLower();
            for (int _i = 0; _i < m_formulaTypes.count(); _i++)
            {
                f = m_formulaTypes.item(_i);
                if (name == f.getName().ToLower())
                {
                    return f.getId();
                }
            }
            return 0;
        }