M-Files API 23.11.13135.0
AddValueListItem Method
VaultValueListItemOperations Object : AddValueListItem Method
The value list ID of the target value list.
The value list item to be added.
When True allows adding new values to value lists where normal users are not allowed to create new values. This option requires that the user has administrative rights in the vault.
Description
Adds a new value list item to a value list.
Syntax
Visual Basic
Public Function AddValueListItem( _
   ByVal ValueList As Long, _
   ByVal ValueListItem As ValueListItem, _
   Optional ByVal AdministrativeOperation As Boolean = False _
) As ValueListItem
Parameters
ValueList
The value list ID of the target value list.
ValueListItem
The value list item to be added.
AdministrativeOperation
When True allows adding new values to value lists where normal users are not allowed to create new values. This option requires that the user has administrative rights in the vault.
See Also

VaultValueListItemOperations Object  | VaultValueListItemOperations Members