Share via


SPUserCustomAction.CommandUIExtension property

Gets and sets XML that defines an extension to the ribbon.

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

Syntax

'Declaration
Public Property CommandUIExtension As String
    Get
    Set
'Usage
Dim instance As SPUserCustomAction
Dim value As String

value = instance.CommandUIExtension

instance.CommandUIExtension = value
public string CommandUIExtension { get; set; }

Property value

Type: System.String
A string that contains XML elements that extend the ribbon.

Remarks

The string returned by this property contains elements that are localizable. Therefore the value that is returned can vary depending on the current thread's Thread.CurrentUICulture property. For more information, see the CommandUIExtensionResource property.

See also

Reference

SPUserCustomAction class

SPUserCustomAction members

Microsoft.SharePoint namespace

CommandUIExtensionResource

Other resources

Declarative Customization of the Server Ribbon

CommandUIExtension Element