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
| Overload | Description |
|---|---|
| Opc | Initializes a new instance of the Opctype specified, whose Time is the current time ( |
| Opc | Initializes a new instance of the Opctype and userName specified, whose Time is the current time ( |
| Opc | Initializes a new instance of the Opctype, 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).
public OpcHistoryModificationInfo(OpcHistoryModificationType type)Public Sub New(type As OpcHistoryModificationType)Parameters
| Name | Type | Description |
|---|---|---|
type | Opc | The 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).
public OpcHistoryModificationInfo(
OpcHistoryModificationType type,
string userName)Public Sub New(type As OpcHistoryModificationType, userName As String)Parameters
| Name | Type | Description |
|---|---|---|
type | Opc | The kind of the modification. |
userName | String | The 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.
public OpcHistoryModificationInfo(
OpcHistoryModificationType type,
string userName,
DateTime timestamp)Public Sub New(
type As OpcHistoryModificationType,
userName As String,
timestamp As Date)Parameters
| Name | Type | Description |
|---|---|---|
type | Opc | The kind of the modification. |
userName | String | The name of the user who made the modification. |
timestamp | DateTime | The time of the modification. |
Properties
Time
Gets the time of the modification.
public DateTime Time { get; }Public ReadOnly Property Time As DateProperty value
The time of the modification.
Type
Gets the kind of the modification.
public OpcHistoryModificationType Type { get; }Public ReadOnly Property Type As OpcHistoryModificationTypeProperty value
One of the members of OpcHistoryModificationType.
UserName
Gets the name of the user who made the modification.
public string UserName { get; }Public ReadOnly Property UserName As StringProperty value
The name of the user or a null reference (Nothing in Visual Basic) if no name has been specified.
Methods
ToString
Returns a string that represents the modification information.
public override string ToString()Public Overrides Function ToString() As StringReturns
A string containing the Time, the Type and, if specified, the UserName.
Overrides

