Ofbiz-China

致力于Ofbiz在中国的传播。帮助中小企业快速构建信息系统。

BlogJava 首页 新随笔 联系 聚合 管理
  2 Posts :: 1 Stories :: 4 Comments :: 0 Trackbacks

2005年11月3日 #

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 @ 2005-11-03 12:26 Ofbiz-China 阅读(2034) | 评论 (1)编辑 收藏