|
<< Click to Display Table of Contents >> Navigation: Reference > BNCS.Core.DriverFramework.Bncs Namespace > BncsDatabase Class > BncsDatabase Methods > BncsDatabase.SetValue Method |
Sets the value at the specified index in the database and publishes a change notification.
Namespace: BNCS.Core.DriverFramework.Bncs
Assembly: BNCS.Core.DriverFramework (in BNCS.Core.DriverFramework.dll)
public Boolean SetValue(
uint index,
string value,
Enums.BNCSChangeSources changeSource
)
index
Type: UInt32
The index in the database where the value should be set.
value
Type: String
The new value to be set. Must not exceed 1024 characters.
changeSource
Type: BNCS.Core.DriverFramework.Models.Enums.BNCSChangeSources
The source of the change. Defaults to Device.
Returns true if the value is successfully set and the change notification is published.
BNCS.Core.DriverFramework.Bncs Namespace