ConsoleAction.IsCurrentlyEnabled method

Determines whether the specified ConsoleAction object is currently enabled.

Namespace:  Microsoft.SharePoint.Publishing.WebControls.EditingMenuActions
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)

Syntax

'Declaration
Public Overridable Function IsCurrentlyEnabled As Boolean
'Usage
Dim instance As ConsoleAction
Dim returnValue As Boolean

returnValue = instance.IsCurrentlyEnabled()
public virtual bool IsCurrentlyEnabled()

Return value

Type: System.Boolean
true if the ConsoleAction object is currently enabled; otherwise, false.

Remarks

The default return value for this method obtains the authoring state for the current page and invokes the IsCurrentlyEnabled method with the authoring state. Override the IsCurrentlyEnabled method when the authoring states are not required to make the call to determine whether the ConsoleAction object is enabled.

See also

Reference

ConsoleAction class

ConsoleAction members

IsCurrentlyEnabled overload

Microsoft.SharePoint.Publishing.WebControls.EditingMenuActions namespace