C-DEngine 5.105

cdeP..::..SetSafePropertyGuid Method

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

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

Syntax


public static cdeP SetSafePropertyGuid(
	cdeP pProp,
	string pName,
	Guid pValue,
	bool UpdateThing
)
Public Shared Function SetSafePropertyGuid ( _
	pProp As cdeP, _
	pName As String, _
	pValue As Guid, _
	UpdateThing As Boolean _
) As cdeP
public:
static cdeP^ SetSafePropertyGuid(
	cdeP^ pProp, 
	String^ pName, 
	Guid^ pValue, 
	bool^ UpdateThing
)

Parameters

pProp
Type: nsCDEngine.Engines.ThingService..::..cdeP
Target Property
pName
Type: String
Property Name
pValue
Type: Guid
Guid 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