Adding Attribute to property in vb.net -


i'm trying add attribute property in vb.net, can check attribute later i'm not sure if i'm going correct way. pointers on how , how check attribute @ run time great.

public class person      ''' <summary>     ''' forename property      ''' </summary>     ''' <value></value>     ''' <returns></returns>     ''' <remarks></remarks>     <excludefrommodifiedcomparision(true)>     public property forename = "mickey"      <excludefrommodifiedcomparision(false)>     public property surname = "mouse" end class  public class excludefrommodifiedcomparisionattribute     inherits attribute      public sub new(byval value boolean)         ' not sure here?         throw new notimplementedexception()     end sub end class 


Comments

Popular posts from this blog

c++ - CryptStringToBinary API behavior -

c++ - Correct method for redrawing a layered window -

java.util.scanner - How to read and add only numbers to array from a text file -