GitHub    Download    Forum
Overview
Tutorial
C++ API
General interfaces
Data interfaces
Schema interfaces
TSchema
Schema_Create
Schema_Destroy
AddDelta
FindClassInfo
GetSchemaVersion
LoadFromFile
LoadFromMemory
StoreToFile
StoreToMemory
USchemaEdit
Configuration interfaces
Structures
Error codes
C# API
DTDL
DADL
Setup

Schema_Create

Creates a new schema object. The new schema object is empty. You can load data to it using the TSchema::LoadFromFile TSchema::LoadFromMemory, or TSchema::AddDelta function.

Syntax

HRESULT Schema_Create(
[out] TSchema** p_ppSchema
);

Parameter

p_ppSchema [out]
Type: TSchema**
Pointer to a variable that receives the requested pointer to the new schema object.
The variable contains the TSchema* on successful return. The variable is not modified on failure.
Call Schema_Destroy when you no longer need it.

Return value

S_OK or an error from the Error Codes.

Remarks

Destroy the schema with Schema_Destroy when you no longer need it.
© 2022 Mobiland AG