V
vipul DotNet
hi friend,
I have a function which can accept 2 parameters ,
one as any double value
second as "Y" or "N"
public sub abc(byval dblvalue as double,byval strvalue as string)
end sub
I want the subroutine to accept only "Y" or "N" as parameter else should
give error at design time when the subroutine is been used by other
programmers
how is this possible ?
I would also like to give description of the parameters when the user try to
enter the
parameters as we see in intellisence.
do we have to use reflection package ??
please give me the soln..
waiting !!
thanks
vipul
I have a function which can accept 2 parameters ,
one as any double value
second as "Y" or "N"
public sub abc(byval dblvalue as double,byval strvalue as string)
end sub
I want the subroutine to accept only "Y" or "N" as parameter else should
give error at design time when the subroutine is been used by other
programmers
how is this possible ?
I would also like to give description of the parameters when the user try to
enter the
parameters as we see in intellisence.
do we have to use reflection package ??
please give me the soln..
waiting !!
thanks
vipul