[PrivilegeCheck(0xbbb), ParseChildren(true)]
  public class SetProductAgentPrice 
   {

在类SetProductAgentPrice 上面的代码是干什么用的呢 ,0xbbb如何转化成十进制数据?

解决方案 »

  1.   

    ParseChildren:http://www.cnblogs.com/aspnet2008/archive/2008/07/28/1254723.htmlPrivilegeCheck                   测试指定访问标记所代表的安全描述符,以
                                     确定该安全描述符是否包含了指定的权限
    不知道对不对。你可以参考一下。
      

  2.   

    类上面的这个叫attribute,作用
    1.Declarative tags that convey information to the runtime,the runtime contains code to examine values of attributes and act on them2.Stored with the metadata of the element
      

  3.   

    0xbbb就是告诉编译器这是16进制的数字,如果在这里写10进制,编译器也会把它转换成16进制的,10进制是多少用附件里的计算器算一下