RibbonManager.GetCustomUI Method

Gets the content of the ribbon for the specific item type.

Namespace:  Microsoft.Office.BusinessApplications.Runtime
Assembly:  Microsoft.Office.BusinessApplications.RuntimeUi (in Microsoft.Office.BusinessApplications.RuntimeUi.dll)

Syntax

'Declaration
Public Overridable Function GetCustomUI ( _
    ribbonID As String _
) As String
'Usage
Dim instance As RibbonManager
Dim ribbonID As String
Dim returnValue As String

returnValue = instance.GetCustomUI(ribbonID)
public virtual string GetCustomUI(
    string ribbonID
)

Parameters

  • ribbonID
    Type: System.String
    The Office ribbon identifier that is translated to a Microsoft Business Connectivity Services (BCS) item type.

Return Value

Type: System.String
The content of the ribbon for the specific item type.

Implements

IRibbonExtensibility.GetCustomUI(String)

Remarks

The Office ribbon identifier can have the following values:

  • "Microsoft.Outlook.Explorer"

  • "Microsoft.Outlook.Contact"

  • "Microsoft.Outlook.Appointment"

  • "Microsoft.Outlook.Task"

  • "Microsoft.Outlook.Post.Read"

  • "Microsoft.Outlook.Post.Compose"

For more information about customizing the Ribbon UI, see Ribbon Overview.

See Also

Reference

RibbonManager Class

RibbonManager Members

Microsoft.Office.BusinessApplications.Runtime Namespace