GitHub
Download
Forum
Overview
Tutorial
C++ API
General interfaces
Data interfaces
UDomain
UStorage
UObject
UList
Get
GetLength
Insert
Remove
Set
UBitFlagSet
UBitFlagSetSingle
WDomain
WObject
IEventClient
Schema interfaces
Configuration interfaces
Structures
Error codes
C# API
DTDL
DADL
Setup
UList::Set
Sets (replaces) an item on the list.
Syntax
HRESULT
Set(
[in]
U
INT32
p_ulIndex,
[in]
void
*
p_pValue
);
Parameter
p_ulIndex
[in]
Type:
UINT32
Index of the item to replace.
p_pValue
[in]
Type:
void*
Data of the item. The data has to be in the packed item form.
Return value
S_OK if the function succeeds.
E_FAIL if p_ulIndex is out of range.
E_OBJECT_ATTRIBUTEALREADYEXISTS if the list has the 'ck' option set (see
DTDL definitions
) and an item with the same ID is already in the list.
© 2022 Mobiland AG