Returns or sets the maximum size of the filename opened using the CommonDialog control.
object.MaxFileSize [= value]
The parts of the MaxFileSize property syntax are described in the following table.
Part | Description |
---|---|
object | An object expression that evaluates to an object. |
value | An integer specifying the maximum size of the filename in bytes. The range for this property is 1 – 32K. The default is 256. |
The MaxFileSize property allocates memory to store the actual names of the selected file or files.
Integer