cdeP..::..SetSafePropertyDate Method
A type/null save helper to Store a Numeric value in a given property. The target property type will be set to "TDate"
Namespace:
nsCDEngine.Engines.ThingServiceAssembly: C-DEngine (in C-DEngine.dll)
Syntax
public static cdeP SetSafePropertyDate( cdeP pProp, string pName, DateTimeOffset pValue, bool UpdateThing )
Public Shared Function SetSafePropertyDate ( _ pProp As cdeP, _ pName As String, _ pValue As DateTimeOffset, _ UpdateThing As Boolean _ ) As cdeP
public: static cdeP^ SetSafePropertyDate( cdeP^ pProp, String^ pName, DateTimeOffset^ pValue, bool^ UpdateThing )
Parameters
- pProp
- Type: nsCDEngine.Engines.ThingService..::..cdeP
Target Property
- pName
- Type: String
Property Name
- pValue
- Type: DateTimeOffset
DateTimeOffset 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