Skip to content

Reference

OpcViewDescription Members

Represents the view of the address space to browse, as defined by the ViewDescription of OPC UA.

Reference

OpcViewDescription Members ​

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

Constructors ​

OpcViewDescription ​

3 overloads · since v2.58

OverloadDescription
OpcViewDescription(OpcNodeId)since v2.58Initializes a new instance of the OpcViewDescription class which describes the current version of the view identified by viewId.
OpcViewDescription(OpcNodeId, DateTime)since v2.58Initializes a new instance of the OpcViewDescription class which describes the version of the view identified by viewId that was current at the timestamp.
OpcViewDescription(OpcNodeId, uint)since v2.58Initializes a new instance of the OpcViewDescription class which describes the version viewVersion of the view identified by viewId.

Exceptions (all overloads)

ExceptionCondition
ArgumentNullExceptionThe viewId is a null reference (Nothing in Visual Basic).

OpcViewDescription(OpcNodeId) ​

since v2.58

Initializes a new instance of the OpcViewDescription class which describes the current version of the view identified by viewId.

csharp
public OpcViewDescription(OpcNodeId viewId)
vbnet
Public Sub New(viewId As OpcNodeId)

Parameters

NameTypeDescription
viewIdOpcNodeIdThe OpcNodeId of the view node.

OpcViewDescription(OpcNodeId, DateTime) ​

since v2.58

Initializes a new instance of the OpcViewDescription class which describes the version of the view identified by viewId that was current at the timestamp.

csharp
public OpcViewDescription(OpcNodeId viewId, DateTime timestamp)
vbnet
Public Sub New(viewId As OpcNodeId, timestamp As Date)

Parameters

NameTypeDescription
viewIdOpcNodeIdThe OpcNodeId of the view node.
timestampDateTimeThe time of the version to browse. The server uses the version created last before that time.

OpcViewDescription(OpcNodeId, uint) ​

since v2.58

Initializes a new instance of the OpcViewDescription class which describes the version viewVersion of the view identified by viewId.

csharp
public OpcViewDescription(OpcNodeId viewId, uint viewVersion)
vbnet
Public Sub New(viewId As OpcNodeId, viewVersion As UInteger)

Parameters

NameTypeDescription
viewIdOpcNodeIdThe OpcNodeId of the view node.
viewVersionUInt32The version of the view to browse, as stated by the ViewVersion property of the view node.

Fields ​

Default ​

static

Describes the whole address space instead of a view.

csharp
public static readonly OpcViewDescription Default
vbnet
Public Shared ReadOnly [Default] As OpcViewDescription

Field value

OpcViewDescription

Properties ​

Timestamp ​

Gets the time which selects the version of the view to browse.

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

Property value

DateTime

The time which selects the version of the view, or MinValue if the version is not selected by time.

ViewId ​

Gets the identifier of the view to browse.

csharp
public OpcNodeId ViewId { get; }
vbnet
Public ReadOnly Property ViewId As OpcNodeId

Property value

OpcNodeId

The identifier of the view, or a null reference (Nothing in Visual Basic) or a null identifier (see IsNullOrEmpty) if the entire address space is browsed.

ViewVersion ​

Gets the version of the view to browse.

csharp
public uint ViewVersion { get; }
vbnet
Public ReadOnly Property ViewVersion As UInteger

Property value

UInt32

The version of the view, or zero if the version is not selected by number.