combit List & Label 27 - .NET Help
combit.Reporting.Repository Namespace / IRepository Interface / CreateOrUpdateItem Method

An object containing the repository item metadata. Note that this is always a new instance of the RepositoryItem type.

If this call was triggered by a file import (e.g. see import methods of class RepositoryImportUtil), this contains the userData parameter of the import call. Otherwise this parameter is null.

A stream that the file content of the repository item can be read from. If this parameter is null, the current file content of the repository item must not be modified (i.e. save the metadata from the 'item' parameter only, but ignore the file content)!



In This Topic
    CreateOrUpdateItem Method
    In This Topic

    Stores a new or modified item in the repository.

    Syntax
    'Declaration
     
    
    Sub CreateOrUpdateItem( _
       ByVal item As RepositoryItem, _
       ByVal importUserData As String, _
       ByVal sourceStream As Stream _
    ) 

    Parameters

    item

    An object containing the repository item metadata. Note that this is always a new instance of the RepositoryItem type.

    importUserData

    If this call was triggered by a file import (e.g. see import methods of class RepositoryImportUtil), this contains the userData parameter of the import call. Otherwise this parameter is null.

    sourceStream

    A stream that the file content of the repository item can be read from. If this parameter is null, the current file content of the repository item must not be modified (i.e. save the metadata from the 'item' parameter only, but ignore the file content)!

    Requirements

    Platforms: Windows 8.1, Windows 10 (Version 1909 - 21H2), Windows 11 (21H2), Windows Server 2012 - 2022

    See Also