MonobjcMonobjc Documented Class Library
ExtendPowerOffBy Method (requested)
NamespacesMonobjc.AppKitNSWorkspaceExtendPowerOffBy(NSInteger)

Requests the system wait for the specified amount of time before turning off the power or logging out the user.

Original signature is '- (NSInteger)extendPowerOffBy:(NSInteger)requested'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual NSInteger ExtendPowerOffBy(
	NSInteger requested
)
Public Overridable Function ExtendPowerOffBy ( _
	requested As NSInteger _
) As NSInteger
public:
virtual NSInteger ExtendPowerOffBy(
	NSInteger requested
)
Parameters
requested (NSInteger)
The number of milliseconds to wait before turning off the power or logging off the user.
Return Value
The number of milliseconds granted by the system.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)