Skip to content

Reference

OpcHistoryModificationInfo Members

Represents the information about a modification of the history of a node: the kind and the time of the modification and the user who made it.

Reference

OpcHistoryModificationInfo Members ​

Type
OpcHistoryModificationInfo
Namespace
Opc.UaFx
Assembly
Opc.UaFx.Advanced.dll
Package
Opc.UaFx.Advanced v2.59.0
Also in
Opc.UaFx.Client

Constructors ​

OpcHistoryModificationInfo ​

3 overloads

OverloadDescription
OpcHistoryModificationInfo(OpcHistoryModificationType)Initializes a new instance of the OpcHistoryModificationInfo class using the type specified, whose Time is the current time (UTC).
OpcHistoryModificationInfo(OpcHistoryModificationType, string)Initializes a new instance of the OpcHistoryModificationInfo class using the type and userName specified, whose Time is the current time (UTC).
OpcHistoryModificationInfo(OpcHistoryModificationType, string, DateTime)Initializes a new instance of the OpcHistoryModificationInfo class using the type, userName and timestamp specified.

OpcHistoryModificationInfo(OpcHistoryModificationType) ​

Initializes a new instance of the OpcHistoryModificationInfo class using the type specified, whose Time is the current time (UTC).

csharp
public OpcHistoryModificationInfo(OpcHistoryModificationType type)
vbnet
Public Sub New(type As OpcHistoryModificationType)

Parameters

NameTypeDescription
typeOpcHistoryModificationTypeThe kind of the modification.

OpcHistoryModificationInfo(OpcHistoryModificationType, string) ​

Initializes a new instance of the OpcHistoryModificationInfo class using the type and userName specified, whose Time is the current time (UTC).

csharp
public OpcHistoryModificationInfo(
    OpcHistoryModificationType type,
    string userName)
vbnet
Public Sub New(type As OpcHistoryModificationType, userName As String)

Parameters

NameTypeDescription
typeOpcHistoryModificationTypeThe kind of the modification.
userNameStringThe name of the user who made the modification.

OpcHistoryModificationInfo(OpcHistoryModificationType, string, DateTime) ​

Initializes a new instance of the OpcHistoryModificationInfo class using the type, userName and timestamp specified.

csharp
public OpcHistoryModificationInfo(
    OpcHistoryModificationType type,
    string userName,
    DateTime timestamp)
vbnet
Public Sub New(
    type As OpcHistoryModificationType,
    userName As String,
    timestamp As Date)

Parameters

NameTypeDescription
typeOpcHistoryModificationTypeThe kind of the modification.
userNameStringThe name of the user who made the modification.
timestampDateTimeThe time of the modification.

Properties ​

Time ​

Gets the time of the modification.

csharp
public DateTime Time { get; }
vbnet
Public ReadOnly Property Time As Date

Property value

DateTime

The time of the modification.

Type ​

Gets the kind of the modification.

csharp
public OpcHistoryModificationType Type { get; }
vbnet
Public ReadOnly Property Type As OpcHistoryModificationType

Property value

OpcHistoryModificationType

One of the members of OpcHistoryModificationType.

UserName ​

Gets the name of the user who made the modification.

csharp
public string UserName { get; }
vbnet
Public ReadOnly Property UserName As String

Property value

String

The name of the user or a null reference (Nothing in Visual Basic) if no name has been specified.

Methods ​

ToString ​

override

Returns a string that represents the modification information.

csharp
public override string ToString()
vbnet
Public Overrides Function ToString() As String

Returns

String

A string containing the Time, the Type and, if specified, the UserName.

Overrides

ToString()