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.Create
Creates a new UObject.
Syntax
int
Create(
out
UObject
p_ppObject,
ObjectId
p_poiParentId,
U
Int32
[]
p_aulClassId
);
Parameter
p_ppObject
Type:
out UObject
Variable that receives the interface of the new object.
The variable contains the interface on successful return. The variable is not modified on failure.
Call
UStorage.Close
on the object when you no longer need it.
p_poiParentId
Type:
ObjectId
ID of the parent object.
Remarks:
A "parent" object is not really a parent. This information is only used by the system for load optimizations to determine which objects will likely be used at the same time.
p_aulClassId
Type:
UInt32[]
Array of classes the object contains.
Return value
This function has no return value.
Remarks
This function only creates a temporary object. You need to call
UStorage.Store
and
UStorage.Execute
or
UStorage.ExecuteAsync
to create the object in the database.
© 2022 Mobiland AG