GitHub
Download
Forum
Overview
Tutorial
C++ API
General interfaces
Data interfaces
UDomain
UStorage
UObject
AddClass
ClassAddRef
ClassRelease
Close
GetArray
GetAvailableAttributes
GetBsob
GetId
GetLastError
GetLastWriteTime
GetList
GetObjectLink
GetObjectLinkArray
GetValue
HasAttribute
IsAvailableLoaded
IsDirty
Load
LoadFiltered
Remove
SetArray
SetBsob
SetDirty
SetLastError
SetList
SetObjectLink
SetObjectLinkArray
SetValue
Store
Unload
UList
UBitFlagSet
UBitFlagSetSingle
WDomain
WObject
IEventClient
Schema interfaces
Configuration interfaces
Structures
Error codes
C# API
DTDL
DADL
Setup
UObject::SetValue
Sets an attribute.
Syntax
HRESULT
SetValue(
[in]
U
INT64
p_ullFullAttributeId,
[in]
const
void
*
p_pValue
);
Parameter
p_ullFullAttributeId
[in]
Type:
UINT64
Identifier of the attribute.
p_pValue
[in]
Type:
const void*
Value to set if the size of the datatype fits into sizeof(void *) or a pointer to the data if it is larger.
Return value
S_OK if the function succeeds.
E_OBJECT_NOTLOADED if the object has not been opened.
E_OBJECT_CLASSNOTFOUND if the object does not contain the class of the requested attribute.
Remarks
It is advisable not to use this function directly. Use the appropriate set function for a specific data type.
© 2022 Mobiland AG