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.AddClass
Adds one or more classes.
Syntax
int
AddClass(
U
Int32
[]
p_aulClassId
);
Parameter
p_aulClassId
Type:
UInt32[]
Array of local class IDs to add to the object.
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