A
AlexB
I have a sub routine that performs an operation on all of
the controls on an ASP.NET page using the If TypeOf..Is X
statement. I want to pass the class, X, in as a
parameter. Is this possible?
Sub(byval x as ???)
For i = 0 to Controls.count -1
If Typeof controls(i) Is X then
'Do something
End if
Next
End sub
the controls on an ASP.NET page using the If TypeOf..Is X
statement. I want to pass the class, X, in as a
parameter. Is this possible?
Sub(byval x as ???)
For i = 0 to Controls.count -1
If Typeof controls(i) Is X then
'Do something
End if
Next
End sub