Hey All,
If you have an existing funtion with unknown dependants, and you want to add another parameter, consider using an optional parameter, like this:
Private Function MyExistingFunction(Optional ByVal NewParam As Boolean = False) As Int32
'If NewParam Then...
End Function
When specifying optional parameters, you must specify a default value, even if that is a blank string.
Monday, 24 November 2008
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment