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 閱讀(2066) 評論(1)  編輯  收藏

          Feedback

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


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


          網站導航:
           
          主站蜘蛛池模板: 洞口县| 故城县| 青浦区| 临沧市| 巩留县| 田林县| 瓦房店市| 长阳| 商水县| 昌平区| 永城市| 旬邑县| 阜阳市| 泰宁县| 绩溪县| 内江市| 尼木县| 平塘县| 万宁市| 昭觉县| 重庆市| 宣威市| 绥德县| 惠安县| 大港区| 乐山市| 左云县| 青海省| 通城县| 巴彦县| 墨脱县| 鸡泽县| 乐昌市| 新闻| 措美县| 安多县| 北川| 石嘴山市| 福建省| 江津市| 留坝县|