Share via


IRibbonCommand.HandlerStatement property

Gets the ECMAScript (JavaScript) code that is executed when the command is invoked.

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

Syntax

'Declaration
ReadOnly Property HandlerStatement As String
    Get
'Usage
Dim instance As IRibbonCommand
Dim value As String

value = instance.HandlerStatement
string HandlerStatement { get; }

Property value

Type: System.String
Returns String.

Remarks

The code can contain multiple statements delimited with semicolons (;).

See also

Reference

IRibbonCommand interface

IRibbonCommand members

Microsoft.SharePoint.WebControls namespace