共用方式為


Optional (Visual Basic) 

Specifies that a procedure argument can be omitted when the procedure is called.

Remarks

The Optional modifier can be used in these contexts:

Declare Statement

Function Statement

Property Statement

Sub Statement

See Also

Reference

Visual Basic Language Keywords