Delen via


Optional parameters cannot have structure types

Optional parameters cannot be structure types.

Error ID: BC31405

To correct this error

  1. Declare structure type parameters as required.

  2. Declare a static class member to take the place of a structure.

See Also

Reference

Static (Visual Basic)

Other Resources

Structures: Your Own Data Types