TagObj.SetValue (Object, Nullable<Int32>, Nullable<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 Nullable(Of Integer), _ 
ByVal timestamp As Nullable(Of 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
Nullable<int> quality
Nullable<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
Nullable<int>

Quality

timestamp
Nullable<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