Ribbon.RegisterDataExtension Method
Registers a data extension for the Server ribbon.
Namespace: Microsoft.Web.CommandUI
Assembly: Microsoft.Web.CommandUI (in Microsoft.Web.CommandUI.dll)
Syntax
'Declaration
Public Overridable Sub RegisterDataExtension ( _
xnExtension As XmlNode, _
location As String _
)
'Usage
Dim instance As Ribbon
Dim xnExtension As XmlNode
Dim location As String
instance.RegisterDataExtension(xnExtension, _
location)
public virtual void RegisterDataExtension(
XmlNode xnExtension,
string location
)
Parameters
xnExtension
Type: System.Xml.XmlNodeAn XML node that contains the ribbon XML to insert into the ribbon.
location
Type: System.StringThe location inside of the ribbon data where the extension will be loaded.