共用方式為


CUIDataSource Members

Include Protected Members
Include Inherited Members

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.

The CUIDataSource type exposes the following members.

Constructors

  Name Description
Protected method CUIDataSource Initializes a new instance of the CUIDataSource class.

Top

Properties

  Name Description
Protected property CurrentQuery Gets the query that is currently being used and run by the data source.
Protected property Document Gets or sets the XML document to be loaded and customized.
Protected property NamespaceManager The namespace manager that is used when querying the XML file.
Protected property ResultDocument Gets or sets the document that results after customizations are applied to it.
Protected property XmlNamespace Gets the namespace used for XPath queries in the default Server ribbon XML file.

Top

Methods

  Name Description
Protected method AddNeededTemplates Adds in the needed group templates.
Protected method ApplyExtensions Applies customizations and overrides to the document.
Protected method EnsureDocument Ensures the presence of the initial XML document containing all UI.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetResultDocument Gets the XML document that is the result of the last query.
Protected method GetTemplateExtension Gets the template extension specified by the template identifier.
Protected method GetTemplatesUsedByTabGroups Gets the templates from the specified RibbonNodeList.
Public method GetType (Inherited from Object.)
Protected method HandleAllQuery Handles a query that returns all of the data in a data source.
Protected method HandleRibbonTabQuery Handles a query for Server ribbon data based on the provided identifier.
Protected method HandleRootQuery Handles a query that retrieves a root node.
Protected method Init Initializes an instance of the CUIDataSource class.
Protected method MemberwiseClone (Inherited from Object.)
Public method RunQuery Applies the specified query to the Server ribbon.
Public method ToString (Inherited from Object.)
Public method WriteResult Write the resulting document using the given [System.IO.TextWriter] object.
Protected method WriteResultDocument Write the resulting document using the given [System.IO.TextWriter] object.

Top

See Also

Reference

CUIDataSource Class

Microsoft.Web.CommandUI Namespace