C-DEngine 5.105

TheThing..::..SetProperty Method (String, Object, DateTimeOffset)

Sets a property If the property does not exist, it will be created The Property Type will be set as well

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

Syntax


public cdeP SetProperty(
	string pName,
	Object pValue,
	DateTimeOffset sourceTimeStamp
)
Public Function SetProperty ( _
	pName As String, _
	pValue As Object, _
	sourceTimeStamp As DateTimeOffset _
) As cdeP
public:
cdeP^ SetProperty(
	String^ pName, 
	Object^ pValue, 
	DateTimeOffset^ sourceTimeStamp
)

Parameters

pName
Type: String
Property Name
pValue
Type: Object
Value to be set
sourceTimeStamp
Type: DateTimeOffset
Overwrite the CTIM (Creation Time Stamp). If set to DateTimeOffset.MinValue the CTIM will be set to the current system time.