19

如何在VB6中为参数指定默认值?

4

1 回答 1

33
Private Sub SomeSub(Optional SomeParam As Integer = 0)
    ' blah
End Sub
于 2010-11-01T18:21:08.327 回答