Back

VB024

Too many parameters

Visual Basic 6
Warning
VB6

More than five parameters is usually a missing Type or class — and with VB6's default ByRef, every one is a variable the callee might rewrite

more than five parameters is usually a missing Type or class — and with VB6's default ByRef, every one is a variable the callee might rewrite.

Why this severity

more than five parameters is usually a missing Type or class — and with VB6's default ByRef, every one is a variable the callee might rewrite.


Known false positives

API-mirroring wrappers whose signature is fixed by the API.

Remediation example

Public Type OrderRequest
    CustomerId As Long
    Amount As Currency
End Type

Reconnecting… Connection lost. Reload