Share via


SPRibbonPopulateQueryCommand members

Represents a command that populates a dynamic ribbon menu from an XML string.

The SPRibbonPopulateQueryCommand type exposes the following members.

Constructors

  Name Description
Public method SPRibbonPopulateQueryCommand(String, String) Initializes a new instance of an SPRibbonPopulateQueryCommand object with the specified identifier and function name.
Public method SPRibbonPopulateQueryCommand(String, String, String) Initializes a new instance of an SPRibbonPopulateQueryCommand object with the specified identifier and function name that references whether 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

SPRibbonPopulateQueryCommand class

Microsoft.SharePoint.WebControls namespace