Skip to content

Reference

OpcNode Class

Represents the base class of the node classes which define the nodes of an address space, such as OpcObjectNode, OpcVariableNode and OpcMethodNode.

Reference

OpcNode Class ​

Namespace
Opc.UaFx
Assembly
Opc.UaFx.Advanced.dll
Package
Opc.UaFx.Advanced v2.59.0
Members
OpcNode Members

Represents the base class of the node classes which define the nodes of an address space, such as OpcObjectNode, OpcVariableNode and OpcMethodNode.

Syntax ​

csharp
public class OpcNode
vbnet
Public Class OpcNode

Inheritance ​

Object → OpcNode

Implements ​

Derived types ​

Properties ​

NameDescription
CategoryGets the NodeCategory attribute which identifies the kind of node and is therefore used to classify the node regarding its use and purpose.
DescriptionGets or sets the value of the optional Description attribute which shall explain the meaning of the node.
Descriptionssince v2.12Gets the OpcNodeGlobalization instance used to control the localization and other globalization related tasks for the Description attribute of the current node.
DisplayNameGets or sets the value of the DisplayName attribute which defines the localizable name of the node.
DisplayNamessince v2.12Gets the OpcNodeGlobalization instance used to control the localization and other globalization related tasks for the DisplayName attribute of the current node.
HasPendingChangesGets a value indiciating whether there exists any pending change on the node.
IdGets the value of the NodeId attribute which unambiguously identifies the node.
Modelsince v2.50Gets the OpcNodeModel which has been used to model this OpcNode regarding its whole representation in the address space.
NameGets or sets the value of the BrowseName attribute which defines the non-localizable human-readable name used when browsing the address space.
NamespaceGets the namespace of the node.
ParentvirtualGets the parent node of the node.
PendingChangesGets a value indicating the most recent changes performed on the node since their last notification.
QueryEventsCallbackGets or sets a callback used to query any event information which belongs to the node.
ReadDescriptionCallbackGets or sets a callback used to read the value of the Description attribute.
ReadDisplayNameCallbacksince v2.11Gets or sets a callback used to read the value of the DisplayName attribute.
ReadUserWriteAccessCallbackGets or sets a callback used to read the value of the UserWriteAccess attribute.
ReadWriteAccessCallbackGets or sets a callback used to read the value of the WriteAccess attribute.
SymbolicNameGets or sets a symbolic name for the node which is not expected to be globally unique.
TagGets or sets the object that contains additional user data about the node.
UserWriteAccessGets or sets the value of the optional UserWriteAccess attribute which exposes the possibilities of a client to write the attributes of the node taking user access rights into account.
WriteAccessGets or sets the value of the optional WriteAccess attribute which exposes the posibilities of a client to write the attributes of the node.
WriteDescriptionCallbackGets or sets a callback used to write the value of the Description attribute.
WriteDisplayNameCallbacksince v2.11Gets or sets a callback used to write the value of the DisplayName attribute.
WriteUserWriteAccessCallbackGets or sets a callback used to write the value of the UserWriteAccess attribute.
WriteWriteAccessCallbackGets or sets a callback used to write the value of the WriteAccess attribute.

Methods ​

NameDescription
AddNotifiervirtualWhen implemented in a subtype, adds the node to the collection of notifiers (= event sources) of this node.
ApplyChangesvirtual · 2 overloadsNotifies about changes performed on the node since the last notification and resets the pending changes to None.
AttributeValue2 overloads · since v2.9Retrieves the value of the attribute specified.
Childsince v2.7Retrieves the child node its Name property matches exactly the name specified.
ChildModelprotected · since v2.50Retrieves the model of the child node with the name specified from the Model of the node.
ChildModellingDirectiveprotected · since v2.50Retrieves the modelling directive of the child node with the name specified from the Model of the node.
ChildrenRetrieves a sequence of all nodes organized as children of this node.
DefineModelprotected · static · 2 overloads · since v2.27Defines a model rule for the model of the node type specified by T using the rule which is to be applied to the node known under the path passed.
GetTypestatic · since v2.20Retrieves the Type which implementes the node type which is identified by the typeId specified.
GetTypeInfostatic · 3 overloads · since v2.20Retrieves the OpcNodeTypeInfo which declares the node type implemented by the T specified.
Implementprotected · virtual · since v2.26Performs node specific implementation tasks to finalize the node creation before it can be used for the first time.
InitializeChildrenprotected · virtual · since v2.54Initializes the children of the node.
InitializeDefaultsprotected · virtualInitializes the default values used by the node implementation represented / required.
IsAccessiblevirtual · since v2.54Determines whether the node is accessible using the context specified within the view identified by the viewId specified.
IsChangePendingDetermines whether all of the changes specified by the change are pending on the node (see PendingChanges).
OnAfterAddedprotected · virtual · since v2.26Raises the AfterAdded event using the event data specified.
OnAfterApplyChangesprotected · virtual · since v2.10Raises the AfterApplyChanges event using the event data specified.
OnBeforeAddedprotected · virtual · since v2.26Raises the BeforeAdded event using the event data specified.
OnBeforeApplyChangesprotected · virtual · since v2.10Raises the BeforeApplyChanges event using the event data specified.
OnChangesUnhandledprotected · virtual · since v2.50Raises the ChangesUnhandled event using the event data specified.
OnEventReportedprotected · virtual · since v2.54Raises the EventReported event using the event data specified.
QueryEventsCoreprotected · virtualQueries the events which belong to the node using the QueryEventsCallback, if one is assigned.
ReadAttributeValueCoreprotected · virtualDetermines the value of the attribute to read.
Referencesvirtual · since v2.50Retrieves a sequence of immutable references between this node and other nodes.
RegisterTypestatic · 4 overloads · since v2.20Registers the type defined by T as the node object type to create in case there a node instance is to be created for the type definition identified by the OpcNodeTypeAttribute defined on the T specified.
RegisterTypesstatic · 3 overloads · since v2.20Registers all non-abstract types in the assembly specified which defines the OpcNodeTypeAttribute.
RemoveNotifiervirtualRemoves the node from the collection of notifiers (= event sources) of this node.
ReportEventReports the eventData specified to all nodes this OpcNode is a notifier of.
ResolveModelprotected · virtual · since v2.54Resolves the Model of the node.
ResumeModelChangeEventssince v2.50Resumes model change tracking and events for this OpcNode and optionally for all children.
SuspendModelChangeEventssince v2.50Temporarily suspends model change tracking and events for this OpcNode and optionally for all children.
UnregisterTypestatic · 2 overloads · since v2.20Unregisters the previously registered (see RegisterType) type defined by T as the object type to not longer create for the type node identified by the OpcNodeTypeAttribute defined on the T specified.
UnregisterTypesstatic · 3 overloads · since v2.20Unregisters all previously registered types (see RegisterTypes) in the assembly specified.
UpdateChanges2 overloads · since v2.10Notifies about the changes on behalf of the node and removes pending changes which intersect with the changes specified.
WriteAttributeValueCoreprotected · virtualDetermines the value of the attribute to write.

Events ​

NameDescription
AfterAddedsince v2.26Occurs after the node has been added to the address space.
AfterApplyChangesOccurs after one or more changes on the node has been notified.
BeforeAddedsince v2.26Occurs before the node is added to the address space.
BeforeApplyChangesOccurs before one or more changes on the node are notified.
ChangesUnhandledsince v2.50Occurs when changes applied with ApplyChanges are not monitored or discarded by all monitored items.
EventReportedsince v2.54Occurs after an event has been reported using ReportEvent.

Applies to ​

PackageVersions
Opc.UaFx.Advancedv2.5–v2.59