GitHub
Download
Forum
Overview
Tutorial
C++ API
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
DTDL
DADL
Setup
UObject.GetValue
Gets an attribute.
Syntax
int
GetValue(
U
Int64
p_ullFullAttributeId,
out
IntPtr
p_pValue
);
int
GetValuePtr(
U
Int64
p_ullFullAttributeId,
out
IntPtr
p_ppValue
);
Parameter
p_ullFullAttributeId
Type:
UInt64
Identifier of the attribute.
p_pValue
Type:
out IntPtr
Pointer to the buffer receiving the value.
Use this function if the size of the datatype fits into sizeof(void *).
p_ppValue
Type:
out IntPtr
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