Ofbiz-China

          致力于Ofbiz在中國的傳播。幫助中小企業快速構建信息系統。

          BlogJava 首頁 新隨筆 聯系 聚合 管理
            2 Posts :: 1 Stories :: 4 Comments :: 0 Trackbacks
          foreach(SupportedStereotype st in
                         (SupportedStereotype[])System.Enum.GetValues(typeof(SupportedStereotype)))
          {
                 //do something
          }

          //Return an indication whether a constant with a specified value exists in a specified enumeration
          bool System.Enum.IsDefined(typeof(SupportedStereotype),stereotype);


          posted on 2005-11-03 12:26 Ofbiz-China 閱讀(2064) 評論(1)  編輯  收藏

          Feedback

          # re: C#中枚舉的遍歷 2011-06-17 18:08 Lison
          學習了  回復  更多評論
            


          只有注冊用戶登錄后才能發表評論。


          網站導航:
           
          主站蜘蛛池模板: 甘德县| 延川县| 越西县| 靖西县| 绵阳市| 顺昌县| 恩施市| 清流县| 元谋县| 阿尔山市| 定结县| 马尔康县| 江城| 凌海市| 咸丰县| 邻水| 富平县| 龙里县| 周至县| 洛浦县| 栾城县| 军事| 木里| 拉萨市| 理塘县| 唐河县| 兴安县| 桃江县| 龙南县| 无极县| 安宁市| 太康县| 响水县| 陕西省| 张掖市| 开化县| 广南县| 东乌珠穆沁旗| 嘉祥县| 东乌| 滨州市|