共用方式為


Microsoft.Web.CommandUI Namespace

Do not use types or members of the Microsoft.Web.CommandUI namespace for development within a SharePoint environment, but instead use SPRibbon and related types in the Microsoft.SharePoint.WebControls namespace. For information about customizing the ribbon in SharePoint Foundation see Server Ribbon in SharePoint Foundation.

Classes

  Class Description
Public class CUIDataSource Represents an abstract class that loads an XML document, retrieves a subset of its data, and applies customizations to the XML by replacing or removing some of the nodes.
Public class DataNode Contains a reference to an XMLNode object.
Public class Ribbon Renders the Server ribbon on a page.
Do not use types or members of the Microsoft.Web.CommandUI namespace for development within a SharePoint environment, but instead use SPRibbon and related types in the Microsoft.SharePoint.WebControls namespace. For information about customizing the ribbon in SharePoint Foundation see Server Ribbon in SharePoint Foundation.
Public class RibbonDocument Represents an XML document by using a tree structure of DataNode objects that contain references to XmlNode objects.
Public class RibbonNodeList Represents a collection of the Server ribbonDataNode objects.
Public class RibbonPeripheralContent A container for content to be shown in one of the peripheral content sections of the Server ribbon.
Public class RibbonPeripheralSection Contains valid section identifiers for Server ribbon peripheral content.
Public class UIQuery Specifies the parameters of a query for data that specifies a user interface (UI), for example, a ribbon or ribbon tab.
Public class XMLToJSONConverter Provides a method to convert an XML document to JavaScript Object Notation (JSON).

Enumerations

  Enumeration Description
Public enumeration UIQueryResultFormat Determines the format of the query result.
Public enumeration UIQueryType Represents the type of query that is being made for Server ribbon data. This enumeration is used in Microsoft SharePoint Foundation by the commandui.ashx HTTP handler.