BncsFramework.SetDatabaseValue Method

<< Click to Display Table of Contents >>

Navigation:  Reference > BNCS.Core.DriverFramework Namespace > BncsFramework Class > BncsFramework Methods >

BncsFramework.SetDatabaseValue Method

Sets a value in the specified database for a given device.

Namespace: BNCS.Core.DriverFramework
Assembly:  BNCS.Core.DriverFramework (in BNCS.Core.DriverFramework.dll)

 

Syntax


public static bool SetDatabaseValue(
 uint device,
 uint database,
 uint index,
 string value,
 Enums.BNCSChangeSources changeSource
)

Parameters

device

Type: UInt32
The device ID.

database

Type: UInt32
The database ID.

index

Type: UInt32
The index of the value to set.

value

Type: String
The value to set.

changeSource

Type: BNCS.Core.DriverFramework.Models.Enums.BNCSChangeSources
The source of the change (default is Device).

Return Value

True if the value was successfully set, false otherwise.

 

See Also


BncsFramework Class

BNCS.Core.DriverFramework Namespace