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::GetValue
Gets an attribute.
Syntax
HRESULT
GetValue(
[in]
U
INT64
p_ullFullAttributeId,
[out]
void
*
p_pValue
)
const
;
HRESULT
GetValuePtr(
[in]
U
INT64
p_ullFullAttributeId,
[out]
void
**
p_ppValue
)
const
;
Parameter
p_ullFullAttributeId
[in]
Type:
UINT64
Identifier of the attribute.
p_pValue
[out]
Type:
void*
Pointer to the buffer receiving the value.
Use this function if the size of the datatype fits into sizeof(void *).
p_ppValue
[out]
Type:
void**
Pointer to the buffer receiving the pointer to the value.
Use this function if the size of the datatype is larger than sizeof(void *).
Return value
S_OK if the function succeeds.
S_FALSE if the requested attribute is empty.
E_OBJECT_NOTLOADED if the object has not been opened.
E_OBJECT_ATTRIBUTENOTLOADED if the attribute exists, but has not been loaded.
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 get function for a specific data type.
© 2022 Mobiland AG