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
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
WinRT API
DTDL
DADL
Setup

UObject.ClassRelease

Decrements the reference count on one or more classes.

Syntax

int ClassRelease(
stcClassRefCount[] p_aClass
);

Parameter

p_aClass
Type: stcClassRefCount[]
Array of stcClassRefCount structs specifying the classes and counts to release on the object.

Return value

S_OK or an error from the Error Codes.

Remarks

This function deletes an 'external' reference that has been created with [[ClassAddRef,UObject]] or [[ClassAddRefById,UStorage]].
© 2025 Mobiland AG