Export (0) Print
Expand All

XmlConsoleDataSource class

An implementation of the XmlConsoleDataSource object that generates data that is based on a specially designed XML configuration file.

System.Object
  System.Web.UI.Control
    System.Web.UI.WebControls.WebControl
      Microsoft.SharePoint.Publishing.WebControls.ConsoleDataSource
        Microsoft.SharePoint.Publishing.WebControls.XmlConsoleDataSource

Namespace:  Microsoft.SharePoint.Publishing.WebControls
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)

[MdsCompliantAttribute(IsCompliant = true)]
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public sealed class XmlConsoleDataSource : ConsoleDataSource

The XmlConsoleDataSource object displays a hierarchical structure of actions to the author. This control is independent of the user interface (UI), which means that any UI can be developed to read this ConsoleDataSource object and display the actions. Examples of UIs that use this object include the PublishingMenu and QuickAccessMenu. A single XML that specifies how the actions should be structured populates each XmlConsoleDataSource object. This XML file includes the definitions for each action..

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions

ADD
Show:
© 2014 Microsoft