Ribbon.RegisterDataExtension Method

Registers a data extension for the Server ribbon.

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


Public Overridable Sub RegisterDataExtension ( _
    xnExtension As XmlNode, _
    location As String _
Dim instance As Ribbon
Dim xnExtension As XmlNode
Dim location As String

instance.RegisterDataExtension(xnExtension, _
public virtual void RegisterDataExtension(
    XmlNode xnExtension,
    string location


  • xnExtension
    Type: System.Xml.XmlNode

    An XML node that contains the ribbon XML to insert into the ribbon.

  • location
    Type: System.String

    The location inside of the ribbon data where the extension will be loaded.

See Also


Ribbon Class

Ribbon Members

Microsoft.Web.CommandUI Namespace