コード例 #1
0
ファイル: ZLClassInfo.cs プロジェクト: pyzh/ZLanguage3
        public ZLFieldInfo SearchField(string zname)
        {
            ZLClassInfo temp = this;

            while (temp != null)
            {
                ZLFieldInfo zp = temp.SearchDeclaredZField(zname);
                if (zp != null)
                {
                    return(zp);
                }
                else
                {
                    temp = temp.BaseZClass;
                }
            }
            return(null);
        }