C
cody
Does the clr allow more than one set and one get method for a property? Is
it possible to use overloading for example set_Color(int c), set_Color(Color
c)?
from msdn:
PropertyInfo.GetAccessors Method ()
Return Value
An array of MethodInfo objects that reflect the public get, set, *and other
accessors* of the property reflected by the current instance, if found;
otherwise, this method returns an array with zero (0) elements.
what is meant with "other accessors" here?
it possible to use overloading for example set_Color(int c), set_Color(Color
c)?
from msdn:
PropertyInfo.GetAccessors Method ()
Return Value
An array of MethodInfo objects that reflect the public get, set, *and other
accessors* of the property reflected by the current instance, if found;
otherwise, this method returns an array with zero (0) elements.
what is meant with "other accessors" here?