OpcEventNodeView Members

Namespace: Opc.UaFx
Assemblies: Opc.UaFx.Advanced.dll, Opc.UaFx.Advanced.dll
The OpcEventNodeView type exposes the following members.

Data

Gets the data associated with this view.

C#

public OpcEventDataSetItem Data { get; }


Property Value

OpcEventDataSetItem

The OpcEventDataSetItem containing the contents of this OpcEventNodeView.

EventTypeId

Gets the node identifier identifying the type of 'Opc.UaFx.OpcEventNode' the Data belong to.

C#

public OpcNodeId EventTypeId { get; }


Property Value

OpcNodeId

An instance of the OpcNodeId in case there the Filter not includes type informaton a null reference (Nothing in Visual Basic).

Filter

Gets the OpcEventFilter used to gather the Data.

C#

public OpcEventFilter Filter { get; }


Property Value

OpcEventFilter

The OpcEventFilter which defines the circumstances under which the Data has been charged.

Get<T>(OpcAttribute, OpcName)

Retrieves the value of the attribute of the element browsable through the name specified.

C#

public T Get<T>(OpcAttribute attribute, OpcName name)


Parameters

attribute OpcAttribute

One of the members defined by the OpcAttribute enumeration identifying the attribute value to query from the element specified by the name.

name OpcName

The OpcName to use to browse to the element from that the requested attribute value is to be retrieved.


Returns

T

The T of the attribute of the element requested or the default value if the attribute value is not of the type specified by T.

Get<T>(OpcAttribute, OpcName[])

Retrieves the value of the attribute of the element browsable through the pathElements specified.

C#

public T Get<T>(OpcAttribute attribute, params OpcName[] pathElements)


Parameters

attribute OpcAttribute

One of the members defined by the OpcAttribute enumeration identifying the attribute value to query from the element specified by the pathElements.

pathElements OpcName[]

The OpcName's to use to browse to the element from that the requested attribute value is to be retrieved.


Returns

T

The T of the attribute of the element requested or the default value if the attribute value is not of the type specified by T.



Exceptions

ArgumentNullException

One of the items in pathElements is a null reference (Nothing in Visual Basic).

Get<T>(OpcAttribute, OpcNamePath)

Retrieves the value of the attribute of the element browsable through the path specified.

C#

public T Get<T>(OpcAttribute attribute, OpcNamePath path)


Parameters

attribute OpcAttribute

One of the members defined by the OpcAttribute enumeration identifying the attribute value to query from the element specified by the path.

path OpcNamePath

The sequence OpcName instances to use to browse to the element from that the requested attribute value is to be retrieved.


Returns

T

The T of the attribute of the element requested or the default value if the attribute value is not of the type specified by T.



Exceptions

ArgumentNullException

The path is a null reference (Nothing in Visual Basic).

Get<T>(OpcAttribute, String)

Retrieves the value of the attribute of the element browsable through the name specified.

C#

public T Get<T>(OpcAttribute attribute, string name = "")


Parameters

attribute OpcAttribute

One of the members defined by the OpcAttribute enumeration identifying the attribute value to query from the element specified by the name.

name String

The String formatted OpcName to use to browse to the element from that the requested attribute value is to be retrieved.


Returns

T

The T of the attribute of the element requested or the default value if the attribute value is not of the type specified by T.

Get<T>(OpcName)

Retrieves the Value attribute of the element browsable through the name specified.

C#

public T Get<T>(OpcName name)


Parameters

name OpcName

The OpcName to use to browse to the element from that the requested Value attribute is to be retrieved.


Returns

T

The T of the attribute of the element requested or the default value if the attribute value is not of the type specified by T.

Get<T>(String)

Retrieves the Value attribute of the element browsable through the name specified.

C#

public T Get<T>(string name = "")


Parameters

name String

The String formatted OpcName to use to browse to the element from that the requested Value attribute is to be retrieved.


Returns

T

The T of the attribute of the element requested or the default value if the attribute value is not of the type specified by T.