Ofbiz-China

          致力于Ofbiz在中國的傳播。幫助中小企業(yè)快速構建信息系統(tǒng)。

          BlogJava 首頁 新隨筆 聯(lián)系 聚合 管理
            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
          學習了  回復  更多評論
            


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


          網(wǎng)站導航:
           
          主站蜘蛛池模板: 四平市| 合阳县| 宜昌市| 红河县| 兴安县| 当雄县| 峡江县| 武冈市| 海原县| 聂拉木县| 泰顺县| 武陟县| 仁布县| 沈阳市| 安新县| 玉田县| 那曲县| 泸定县| 闽清县| 永清县| 汉阴县| 山东省| 秦皇岛市| 剑川县| 长泰县| 通道| 永新县| 清镇市| 安丘市| 宣威市| 无锡市| 田林县| 丁青县| 三河市| 榆树市| 建平县| 武陟县| 孟州市| 濉溪县| 福安市| 江源县|