TheThing..::..SetProperty Method (String, Object, ePropertyTypes, 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.ThingServiceAssembly: C-DEngine (in C-DEngine.dll)
Syntax
public cdeP SetProperty( string pName, Object pValue, ePropertyTypes pType, DateTimeOffset sourceTimeStamp )
Public Function SetProperty ( _ pName As String, _ pValue As Object, _ pType As ePropertyTypes, _ sourceTimeStamp As DateTimeOffset _ ) As cdeP
public: cdeP^ SetProperty( String^ pName, Object^ pValue, ePropertyTypes^ pType, DateTimeOffset^ sourceTimeStamp )
Parameters
- pName
 - Type: String
Property Name 
- pValue
 - Type: Object
Value to be set 
- pType
 - Type: nsCDEngine.Engines.ThingService..::..ePropertyTypes
Type of the property 
- sourceTimeStamp
 - Type: DateTimeOffset
Overwrite the CTIM (Creation Time Stamp). If set to DateTimeOffset.MinValue the CTIM will be set to the current system time.