C-DEngine 5.105

TheThing..::..SetSafePropertyString Method

A type/null save helper to Store a Numeric value in a given property. The target property type will be set to "TString"

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

Syntax


public static cdeP SetSafePropertyString(
	ICDEThing pThing,
	string pName,
	string pValue,
	bool UpdateThing
)
Public Shared Function SetSafePropertyString ( _
	pThing As ICDEThing, _
	pName As String, _
	pValue As String, _
	UpdateThing As Boolean _
) As cdeP
public:
static cdeP^ SetSafePropertyString(
	ICDEThing^ pThing, 
	String^ pName, 
	String^ pValue, 
	bool^ UpdateThing
)

Parameters

pThing
Type: nsCDEngine.Engines.ThingService..::..ICDEThing
Target TheThing
pName
Type: String
Property Name
pValue
Type: String
String Property Value
UpdateThing
Type: Boolean
If set to true, TheThing's UpdateThing function will be called and TheThing is updated in TheThingRegistry and TheThingRegistry is flushed to Disk

Return Value