I am new to creating custom attributes, and would like to create an attribute that will make sure a parameter is within a specified range. I know how to create a custom attribute, which in this case would accept parameters for the minimum and maximum values
for the range. But I do not know how to make Visual Studio display an error, warning, or other message when the parameter is outside the specified range. Is there a way to do this? Any help would be appreciated. Thanks.
Nathan Sokalski njsokalski@hotmail.com http://www.nathansokalski.com/