TheThing..::..SetProperties Method
Sets multiple properties at once. Use with the Historian feature for a consistent snapshot that has all these property changes.
If any of the properties do not exist, they will be created
All Events (Change and Set) will be fired - even if the property has not changed
The Property Type will be set as well
Namespace:
nsCDEngine.Engines.ThingServiceAssembly: C-DEngine (in C-DEngine.dll)
Syntax
public bool SetProperties( IDictionary<string, Object> nameValueDictionary, DateTimeOffset sourceTimestamp )
Public Function SetProperties ( _ nameValueDictionary As IDictionary(Of String, Object), _ sourceTimestamp As DateTimeOffset _ ) As Boolean
public: bool^ SetProperties( IDictionary<String^, Object^>^ nameValueDictionary, DateTimeOffset^ sourceTimestamp )
Parameters
- nameValueDictionary
- Type: IDictionary<(Of <(<'String, Object>)>)>
- sourceTimestamp
- Type: DateTimeOffset