Skip to content

Reference

OpcPropertyValue Members

Represents the immutable value of a property.

Reference

OpcPropertyValue<T> Members ​

Type
OpcPropertyValue<T>
Namespace
Opc.UaFx
Assembly
Opc.UaFx.Advanced.dll
Package
Opc.UaFx.Advanced v2.59.0

Inherits members from OpcVariableValue<T>, OpcAttributeValue<T>.

Constructors ​

OpcPropertyValue ​

4 overloads

OverloadDescription
OpcPropertyValue(T)Initializes a new instance of the OpcPropertyValue<T> class using the value specified.
OpcPropertyValue(T, DateTime)Initializes a new instance of the OpcPropertyValue<T> class using the value and timestamp specified.
OpcPropertyValue(T, DateTime, OpcStatus)Initializes a new instance of the OpcPropertyValue<T> class using the value, timestamp and status specified.
OpcPropertyValue(T, DateTime, OpcStatusCode)Initializes a new instance of the OpcPropertyValue<T> class using the value, timestamp and statusCode specified.

OpcPropertyValue(T) ​

Initializes a new instance of the OpcPropertyValue<T> class using the value specified.

csharp
public OpcPropertyValue(T value)
vbnet
Public Sub New(value As T)

Parameters

NameTypeDescription
valueTThe value of the property value represented.

OpcPropertyValue(T, DateTime) ​

Initializes a new instance of the OpcPropertyValue<T> class using the value and timestamp specified.

csharp
public OpcPropertyValue(T value, DateTime timestamp)
vbnet
Public Sub New(value As T, timestamp As Date)

Parameters

NameTypeDescription
valueTThe value of the property value represented.
timestampDateTimeThe time stamp of the property value.

OpcPropertyValue(T, DateTime, OpcStatus) ​

Initializes a new instance of the OpcPropertyValue<T> class using the value, timestamp and status specified.

csharp
public OpcPropertyValue(T value, DateTime timestamp, OpcStatus status)
vbnet
Public Sub New(value As T, timestamp As Date, status As OpcStatus)

Parameters

NameTypeDescription
valueTThe value of the property value represented.
timestampDateTimeThe time stamp of the property value.
statusOpcStatusThe status associated with the property value.

OpcPropertyValue(T, DateTime, OpcStatusCode) ​

Initializes a new instance of the OpcPropertyValue<T> class using the value, timestamp and statusCode specified.

csharp
[CLSCompliant(false)]
public OpcPropertyValue(T value, DateTime timestamp, OpcStatusCode statusCode)
vbnet
<CLSCompliant(False)>
Public Sub New(value As T, timestamp As Date, statusCode As OpcStatusCode)

Parameters

NameTypeDescription
valueTThe value of the property value represented.
timestampDateTimeThe time stamp of the property value.
statusCodeOpcStatusCodeThe OpcStatusCode form that the OpcStatus associated with the property value is derived.