GitHub
Download
Forum
Overview
Tutorial
C++ API
General interfaces
Data interfaces
UDomain
UStorage
UObject
AddClass
ClassAddRef
ClassRelease
Close
GetArray
GetAvailableAttributes
GetBsob
GetId
GetLastError
GetLastWriteTime
GetLink
GetLinkArray
GetList
GetObjectLink
GetObjectLinkArray
GetValue
HasAttribute
IsAvailableLoaded
IsDirty
Load
LoadFiltered
Remove
SetArray
SetBsob
SetDirty
SetLastError
SetLink
SetLinkArray
SetList
SetObjectLink
SetObjectLinkArray
SetValue
Store
Unload
Update
UList
UBitFlagSet
UBitFlagSetSingle
WDomain
WObject
IEventClient
Schema interfaces
Configuration interfaces
Callback interfaces
Structures
Error codes
DataAccess interfaces
C# API
WinRT API
DTDL
DADL
Setup
UObject::SetLink
Sets an ObjectLink attribute.
Syntax
HRESULT
SetLink(
[in]
UINT64
p_ullFullAttributeId,
[in]
const
stcObjectLink*
p_polObjectLink
);
HRESULT
SetLink(
[in]
UINT64
p_ullFullAttributeId,
[in]
const
ObjectId
*
p_poiObjectId,
[in]
const
UINT32
*
p_aulClassId,
[in]
UINT32
p_ulLength
);
Parameter
p_ullFullAttributeId
[in]
Type:
UINT64
Identifier of the attribute.
p_polObjectLink
[in]
Type:
const stcObjectLink*
ObjectLink to set.
p_poiObjectId
[in]
Type:
const ObjectId*
ObjectId of the ObjectLink to set.
p_aulClassId
[in]
Type:
const UINT32*
Class list of the ObjectLink to set.
p_ulLength
[in]
Type:
UINT32
Number of elements in the p_aulClassId array.
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.
© 2025 Mobiland AG