xInfo.canShutdown Method

Tests whether the system can be shut down. Do not use this method. Use the version that is overridden on the Info class instead.

Syntax

public boolean canShutdown(boolean silent)

Run On

Called

Parameters

  • silent
    Type: boolean
    A Boolean that determines whether users are asked if they want to exit the system.

Return Value

Type: boolean
true of the system can be shut down; otherwise false.

See Also

Reference

xInfo Class