C-DEngine 5.105

TheThing..::..SetPropertyFromBagItem Method

Sets a property from a "BagItem" - a "Name=Value" representation of a property

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

Syntax


public static void SetPropertyFromBagItem(
	ICDEThing tSPLI,
	string tItem,
	bool DoCreate
)
Public Shared Sub SetPropertyFromBagItem ( _
	tSPLI As ICDEThing, _
	tItem As String, _
	DoCreate As Boolean _
)
public:
static void SetPropertyFromBagItem(
	ICDEThing^ tSPLI, 
	String^ tItem, 
	bool^ DoCreate
)

Parameters

tSPLI
Type: nsCDEngine.Engines.ThingService..::..ICDEThing
TheThing to set the property on
tItem
Type: String
Name=Value Item to be set on TheThing
DoCreate
Type: Boolean
If Set to true, the new property will be created if it did not exist