1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Attribute_Reflection

Discussion in 'C#' started by k1_usr, Aug 28, 2010.

  1. k1_usr

    k1_usr New Member

    Joined:
    Aug 28, 2010
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    Hello ,when we can use Attribute?
    what can I read attribute of the property with reflection?

    PropertyInfo[] properties = this.GetType().GetProperties(BindingFlags.Public | BindingFlags.Instance);

    what hold in properties?
     
  2. NewsBot

    NewsBot New Member

    Joined:
    Dec 2, 2008
    Messages:
    1,267
    Likes Received:
    1
    Trophy Points:
    0
    All the properties of the control.
     

Share This Page