combit List & Label 29 - .NET Help
combit.Reporting.Repository Namespace / RepositoryImportUtil Class / SetItemUIName Method

ID of the repository item to modify.

A name to display in the UI instead of the item ID.

Language for which the name is set. Use CultureInfo.InvariantCulture.LCID for the default name.



In This Topic
    SetItemUIName Method
    In This Topic

    Sets the (optional) name to display in the UI for a repository item for the specified language. A repository item may have a dinstinct UI name for each language.

    Syntax
    'Declaration
     
    
    Public Sub SetItemUIName( _
       ByVal itemId As String, _
       ByVal uiName As String, _
       Optional ByVal lcid As Integer, _
       Optional ByVal userImportData As String _
    ) 
    public void SetItemUIName( 
       string itemId,
       string uiName,
       int lcid,
       string userImportData
    )
    public:
    void SetItemUIName( 
       String^ itemId,
       String^ uiName,
       int lcid,
       String^ userImportData
    ) 

    Parameters

    itemId

    ID of the repository item to modify.

    uiName

    A name to display in the UI instead of the item ID.

    lcid

    Language for which the name is set. Use CultureInfo.InvariantCulture.LCID for the default name.

    userImportData
    Remarks

    Note that repository items are only identified by the item ID, so multiple items can have the same UI name.

    Requirements

    Platforms: Windows 10 (Version 21H2 - 23H2), Windows 11 (21H2 - 22H2), Windows Server 2016 - 2022
    .NET: .NET Framework 4.8, .NET 6, .NET 7, .NET 8

    See Also