共用方式為


UIQueryType Enumeration

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.

Namespace:  Microsoft.Web.CommandUI
Assembly:  Microsoft.Web.CommandUI (in Microsoft.Web.CommandUI.dll)

Syntax

'Declaration
Public Enumeration UIQueryType
'Usage
Dim instance As UIQueryType
public enum UIQueryType

Members

Member name Description
None The query type is not specified.
All Retrieve all the Server ribbon XML.
RibbonVisibleTabDeep Perform a shallow retrieval of all Server ribbon tabs. This type of retrieval includes the ribbon tab node and attributes but does not include the child nodes of the ribbon tab node. This type of retrieval also includes the deep retrieval of a single tab node.
RibbonShallow Perform a shallow retrieval of all the Server ribbon tabs. This type of retrieval includes only the tab node and its attributes; no child nodes are included.
RibbonTab Perform a deep retrieval of one Server ribbon tab. This type of retrieval includes the child nodes in addition to the tab node and its attributes.
Root Retrieve a complete "root". Because, in Microsoft SharePoint Foundation, the only root that is used is the Server ribbon, this type of query retrieves the entire ribbon node including all of its ancestors, as well as all the nodes beneath it. You still have to set the ID to the Id attribute of the root node. So, the Ribbon node Id in SharePoint Foundation is set to "Ribbon".

See Also

Reference

Microsoft.Web.CommandUI Namespace