GitHub
Download
Forum
Overview
Tutorial
C++ API
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
DTDL
DADL
Setup
UList.Set
Sets (replaces) an item on the list.
Syntax
int
Set(
U
Int32
p_ulIndex,
IntPtr
p_pValue
);
Parameter
p_ulIndex
Type:
UInt32
Index of the item to replace.
p_pValue
Type:
IntPtr
Pointer to the data of the new 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