Yes, if you overload the fuction, meaning that you need to create the let's say three functions with the same name but different signature on each, eg.
Private myFunc() as string
'TODO
End Function
Private myFunc(x as integer) as string
'TODO
End Function
Private myFunc(x as integer, y as integer) as string
'TODO
End Function
Private myFunc(x as integer, y as integer, s as string) as string
'TODO
End Function