List & Label .NET
combit.ReportServer.ClientApi.Objects Namespace / RepositorySession Class / NewItem Method
Repository ID to use for the new item.
Repository item type (see [ListLabel.]RepositoryItem.Type)


In This Topic
    NewItem Method
    In This Topic
    Creates a new repository item.
    Syntax
    'Declaration
     
    
    Public Function NewItem( _
       ByVal itemId As String, _
       ByVal type As String _
    ) As TemplateRepositoryItem

    Parameters

    itemId
    Repository ID to use for the new item.
    type
    Repository item type (see [ListLabel.]RepositoryItem.Type)
    Requirements

    Platforms: Windows 10 (Version 21H2 - 22H2), Windows 11 (22H2 - 25H2), Windows Server 2016 - 2025
    .NET: .NET Framework 4.8, .NET 8, .NET 9, .NET 10

    See Also