Reference
OpcInstanceNodeSnapshot Members
Defines a lightweight immutable deep snapshot of a whole 'Opc.UaFx.OpcInstanceNode'.
Reference
OpcInstanceNodeSnapshot Members
- Type
- OpcInstanceNodeSnapshot
- Namespace
- Opc.UaFx
- Assembly
- Opc.UaFx.Advanced.dll
- Package
- Opc.UaFx.Advanced v2.59.0
- Also in
- Opc.UaFx.Client
Properties
Tag
Gets or sets the object that contains additional user data about the snapshot.
public object Tag { get; set; }Public Property Tag As ObjectProperty value
An object that contains additional user data about the snapshot. The default is null (Nothing in Visual Basic).
Methods
Create
Creates a new OpcInstanceNodeSnapshot from the node specified.
public static OpcInstanceNodeSnapshot Create(
OpcContext context,
OpcInstanceNode node)Public Shared Function Create(
context As OpcContext,
node As OpcInstanceNode) As OpcInstanceNodeSnapshotParameters
| Name | Type | Description |
|---|---|---|
context | OpcContext | The OpcContext to use to collect the snapshot data. |
node | OpcInstanceNode | The OpcInstanceNode from which the snapshot data is to be collected. |
Returns
A new instance of the OpcInstanceNodeSnapshot class containing the browsable information of the node specified.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The context or node is a null reference ( |
Get
| Overload | Description |
|---|---|
| Get< | Retrieves the Value attribute of the element browsable through the name specified. |
| Get< | Retrieves the Value attribute of the element browsable through the name specified. |
| Get< | Retrieves the value of the attribute of the element browsable through the name specified. |
| Get< | Retrieves the value of the attribute of the element browsable through the name specified. |
| Get< | Retrieves the value of the attribute of the element browsable through the pathElements specified. |
| Get< | Retrieves the value of the attribute of the element browsable through the path specified. |
Get<T>(string)
Retrieves the Value attribute of the element browsable through the name specified.
public T Get<T>(string name = "")Public Function [Get](Of T)(name As String = "") As TType parameters
| Name | Description |
|---|---|
T | The type of the value to query. |
Parameters
| Name | Type | Description |
|---|---|---|
name | String | The string formatted OpcName to use to browse to the element from that the requested Value attribute is to be retrieved. Optional, default "". |
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.
Implements
Get<T>(OpcName)
Retrieves the Value attribute of the element browsable through the name specified.
public T Get<T>(OpcName name)Public Function [Get](Of T)(name As OpcName) As TType parameters
| Name | Description |
|---|---|
T | The type of value to query. |
Parameters
| Name | Type | Description |
|---|---|---|
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.
Implements
Get<T>(OpcAttribute, string)
Retrieves the value of the attribute of the element browsable through the name specified.
public T Get<T>(OpcAttribute attribute, string name = "")Public Function [Get](Of T)(attribute As OpcAttribute, name As String = "") As TType parameters
| Name | Description |
|---|---|
T | The type of value to query. |
Parameters
| Name | Type | Description |
|---|---|---|
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. Optional, default "". |
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.
Implements
Get<T>(OpcAttribute, OpcName)
Retrieves the value of the attribute of the element browsable through the name specified.
public T Get<T>(OpcAttribute attribute, OpcName name)Public Function [Get](Of T)(attribute As OpcAttribute, name As OpcName) As TType parameters
| Name | Description |
|---|---|
T | The type of value to query. |
Parameters
| Name | Type | Description |
|---|---|---|
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.
Implements
Get<T>(OpcAttribute, params OpcName[])
Retrieves the value of the attribute of the element browsable through the pathElements specified.
public T Get<T>(OpcAttribute attribute, params OpcName[] pathElements)Public Function [Get](Of T)(
attribute As OpcAttribute,
ParamArray pathElements As OpcName()) As TType parameters
| Name | Description |
|---|---|
T | The type of value to query. |
Parameters
| Name | Type | Description |
|---|---|---|
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 | params 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
| Exception | Condition |
|---|---|
| Argument | One of the items in pathElements is a null reference ( |
Implements
Get<T>(OpcAttribute, OpcNamePath)
Retrieves the value of the attribute of the element browsable through the path specified.
public T Get<T>(OpcAttribute attribute, OpcNamePath path)Public Function [Get](Of T)(attribute As OpcAttribute, path As OpcNamePath) As TType parameters
| Name | Description |
|---|---|
T | The type of value to query. |
Parameters
| Name | Type | Description |
|---|---|---|
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
| Exception | Condition |
|---|---|
| Argument | The path is a null reference ( |
Implements
ToArray
Copies the elements of this data store to a new array.
public object[] ToArray()Public Function ToArray() As Object()Returns
Object[]
An object array containing copies of the elements of this data store.
Implements

