Share via


SPRibbonQueryCommand members

Represents a generic ribbon command for the query command ribbon event.

The SPRibbonQueryCommand type exposes the following members.

Constructors

  Name Description
Public method SPRibbonQueryCommand(String, Boolean) Initializes a new instance of an SPRibbonQueryCommand object with the specified identifier and the referenced state.
Public method SPRibbonQueryCommand(String, Boolean, String) Initializes a new instance of the SPRibbonQueryCommand object with the specified identifier and state that references if the command is enabled.

Top

Properties

  Name Description
Public property EnabledStatement Gets or sets the code that is run to determine whether the command should be enabled. (Inherited from SPRibbonCommand.)
Public property HandlerStatement Gets or sets the code that is run when the command is invoked. (Inherited from SPRibbonCommand.)
Public property Id Gets the identifier of the command. (Inherited from SPRibbonCommand.)

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

See also

Reference

SPRibbonQueryCommand class

Microsoft.SharePoint.WebControls namespace