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::AddClass
Adds one or more classes.
Syntax
HRESULT
AddClass(
[in]
const
U
INT32
*
p_aulClassId,
[in]
U
INT32
p_ulCount
);
Parameter
p_aulClassId
[in]
Type:
const UINT32*
Array of local class IDs to add to the object.
p_ulCount
[in]
Type:
UINT32
Number of elements in the p_aulClassId array.
Return value
S_OK or an error from the
Error Codes
.
Remarks
If a class is already part of the object, this function does nothing.
You need to reference the new classes in the same transaction that you create them in. Otherwise they will be deleted again.
© 2022 Mobiland AG