02 2010 档案

摘要:将子标签解释为控件的属性MSDN解释ParseChildrenAttribute 类允许您以 ParseChildrenAttribute 元数据属性标记服务器控件来为自定义服务器控件指定分析逻辑。 以元数据属性 (Attribute) ParseChildren(true) 标记服务器控件将指示分析器把包含在服务器控件标记内的元素解释为属性 (Property)。在这种情况下,ChildrenA... 阅读全文

posted @ 2010-02-24 13:51 木可 阅读(416) 评论(0) 推荐(0)

摘要:[ToolboxItem("System.Web.UI.Design.WebControlToolboxItem, System.Design, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"), DesignerSerializer("Microsoft.VSDesigner.WebForms.Contr... 阅读全文

posted @ 2010-02-22 10:04 木可 阅读(532) 评论(1) 推荐(0)

摘要:[PersistChildren(false), ParseChildren(true), PermissionSet(SecurityAction.LinkDemand, XML="<PermissionSet class=\"System.Security.PermissionSet\"\r\n version=\"1\">\r\n <IPermission class=\"... 阅读全文

posted @ 2010-02-21 16:20 木可 阅读(556) 评论(0) 推荐(0)

摘要:public static bool IsDefined(Type enumType, object value){ if (enumType == null) { throw new ArgumentNullException("enumType"); } if (!(enumType is RuntimeType)) { throw new ArgumentException(Environm... 阅读全文

posted @ 2010-02-09 09:34 木可 阅读(268) 评论(0) 推荐(0)

导航