Udostępnij za pośrednictwem


xInfo.canShutdown(Boolean) Method

Definition

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

public:
 virtual bool canShutdown(bool _silent);
public virtual bool canShutdown(bool _silent);
abstract member canShutdown : bool -> bool
override this.canShutdown : bool -> bool
Public Overridable Function canShutdown (_silent As Boolean) As Boolean

Parameters

_silent
Boolean

A Boolean that determines whether users are asked if they want to exit the system.

Returns

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

Applies to