C-DEngine 5.105

TheThingRegistry..::..RegisterThing Method (ICDEThing, Boolean)

Registers a Thing with TheThingRegistry Properties of TheThing that is referenced in ICDEThing will be persisted in TheThingRegistry and "Init()" and "CreateUX()" will be called

Namespace:  nsCDEngine.Engines.ThingService
Assembly:  C-DEngine (in C-DEngine.dll)

Syntax


public static TheThing RegisterThing(
	ICDEThing pThing,
	bool RegisterGlobally
)
Public Shared Function RegisterThing ( _
	pThing As ICDEThing, _
	RegisterGlobally As Boolean _
) As TheThing
public:
static TheThing^ RegisterThing(
	ICDEThing^ pThing, 
	bool^ RegisterGlobally
)

Parameters

pThing
Type: nsCDEngine.Engines.ThingService..::..ICDEThing
Pointer to the ICDEThing interface to be persisted
RegisterGlobally
Type: Boolean
If set to true, changed to TheThing Properties will be published across the mesh to allow for distributed rules

Return Value