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
Post a Comment