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::GetArray
Gets an array attribute.
Syntax
HRESULT
GetArray(
[in]
U
INT64
p_ullFullAttributeId,
[out]
const
void
**
p_paValue,
[out]
U
INT32
*
p_pulLength
)
const
;
Parameter
p_ullFullAttributeId
[in]
Type:
UINT64
Identifier of the attribute.
p_paValue
[out]
Type:
const void**
Receives the pointer to the array.
p_pulLength
[out]
Type:
UINT32*
Receives the number of elements in the array returned in p_paValue.
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.
The pointer is only valid until you modify or reload the attribute.
© 2022 Mobiland AG