GitHub
Download
Forum
Overview
Tutorial
C++ API
C# API
General interfaces
Data interfaces
UDomain
UStorage
AbortActionGroup
AddClass
ClassAddRef
ClassAddRefById
ClassRelease
ClassReleaseById
Close
Create
CreateActionGroup
CreateWaitObject
DestroyActionGroup
DestroyWaitObject
Execute
ExecuteAsync
ExecuteResult
ExecuteWait
GetLastError
GetSchema
InsertNamedObject
Load
Open
RegisterEventClient
RemoveNamedObject
ResetActionGroup
SetLastError
SetSchema
Store
UnregisterEventClient
Update
WaitableHandle
UObject
UList
UBitFlagSet
UBitFlagSetSingle
WDomain
WObject
IEventClient
Schema interfaces
Configuration interfaces
Structures
Error codes
DTDL
DADL
Setup
UStorage.ClassReleaseById
Decrements the reference count on one or more classes.
This function can be used on an object without the need to open it first.
Syntax
int
ClassReleaseById(
ObjectId
p_poiObjectId,
stcClassRefCount[]
p_aClass,
IntPtr
p_hActionGroup
);
Parameter
p_poiObjectId
Type:
ObjectId
ID of the object to execute the action on.
p_aClass
Type:
stcClassRefCount[]
Array of stcClassRefCount structs specifying the classes and counts to increase the references on the object.
p_hActionGroup
Type:
IntPtr
ActionGroup to use.
Return value
S_OK or an error from the
Error Codes
.
Remarks
This function deletes an 'external' reference that has been created with
UStorage.ClassAddRef
or
UStorage.ClassAddRefById
.
© 2022 Mobiland AG