TagObj.SetValue (Object, Int32, DateTimeOffset, Int32, Int32, eRunEvent, Int64, Func<Boolean>, String) Method

Set objType
<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)> _ 
Public Sub SetValue( _ 
ByVal value As Object, _ 
ByVal quality As Integer, _ 
ByVal timestamp As DateTimeOffset, _ 
ByVal moduleID As Integer, _ 
ByVal extendedModuleID As Integer, _ 
ByVal flags As eRunEvent, _ 
ByVal protectRecursiveEvent As Long, _ 
ByVal canSetValue As Func(Of Boolean), _ 
ByVal userName As String
)
This language is not supported or no code example is available.
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)] 
public void SetValue( 
object value
int quality
DateTimeOffset timestamp
int moduleID
int extendedModuleID
eRunEvent flags
long protectRecursiveEvent
Func<bool> canSetValue
string userName 
)
This language is not supported or no code example is available.

Parameters

value
object

quality
int

Quality

timestamp
DateTimeOffset

Timestamp

moduleID
int

TModule ID

extendedModuleID
int

Extended TModule ID

flags
eRunEvent

Indicate when generate event

protectRecursiveEvent
long

Number to protect against recursive generate event

canSetValue
Func<bool>

Callback method that is called for ckecking whether should set value

userName
string

User name changes the value

.NET Framework

Supported in: 4.6.2, 4.7

In this article

Definition