How to realize INamingContainer,tell me something deeperIf I want to implement a custom container control ,I must keep my control inheriting from INamingContainer,It's a interface was defined as a er interface.As I know,that will make CLR creating control statement into metadata like attribute.So,I want to know :Is the .net framework system have only created the metadata for itself's er interface? Can I Create a er interface?What will happen when the CLR compiler is compiling the control inherits from INamingContainer?What is the function of INamingContainer for container control?thanks in advance!stackoverflowinterface

解决方案 »

  1.   

    另外再问一下,如何给asp.net中的treeview控件的checkednodes属性中值是怎么来的?求详解!因为我看源代码找不到赋值之处。
      

  2.   

    1.Marker interface just like attributes in c#.
    2.I can construct a attribute object by using a arrtribute type instead of er interface.
    3,And I can code generic set with er interface but not arrtribute.
    4,In addition to above statements,I want to tell you there is nothing about the difference between attribute and  er interface.
    5,So,you can't create your er interface just like you can't create the attribute which has the similar function to the system attribute types.