Reference
OpcRelativePathElement Members
Defines a reference and browse name to follow.
Reference
OpcRelativePathElement Members
- Type
- OpcRelativePathElement
- Namespace
- Opc.UaFx
- Assembly
- Opc.UaFx.Advanced.dll
- Package
- Opc.UaFx.Advanced v2.59.0
- Also in
- Opc.UaFx.Client
Constructors
OpcRelativePathElement
| Overload | Description |
|---|---|
| Opc | Initializes a new instance of the Opcname specified. |
| Opc | Initializes a new instance of the OpcreferenceType and name specified. |
Exceptions (all overloads)
| Exception | Condition |
|---|---|
| Argument | The name is a null reference ( |
OpcRelativePathElement(OpcName)
Initializes a new instance of the OpcRelativePathElement class following HierarchicalReferences using the name specified.
public OpcRelativePathElement(OpcName name)Public Sub New(name As OpcName)Parameters
| Name | Type | Description |
|---|---|---|
name | OpcName | The OpcName value of the BrowseName attribute to follow. |
OpcRelativePathElement(OpcName, OpcReferenceType)
Initializes a new instance of the OpcRelativePathElement class following the referenceType and name specified.
public OpcRelativePathElement(OpcName name, OpcReferenceType referenceType)Public Sub New(name As OpcName, referenceType As OpcReferenceType)Parameters
| Name | Type | Description |
|---|---|---|
name | OpcName | The OpcName value of the BrowseName attribute to follow. |
referenceType | OpcReferenceType | The OpcReferenceType to follow. |
Properties
Direction
Gets a value indicating in which direction the references shall be followed.
public OpcReferenceDirection Direction { get; }Public ReadOnly Property Direction As OpcReferenceDirectionProperty value
One of the members defined by the OpcReferenceDirection enumeration.
IncludeSubtypes
Gets a value indicating whether subtypes of the type of reference identified by either ReferenceTypeId or ReferenceTypeName shall be followed as well.
public bool IncludeSubtypes { get; }Public ReadOnly Property IncludeSubtypes As BooleanProperty value
The value true to follow subtypes of the type of reference identified by either ReferenceTypeId or ReferenceTypeName; otherwise the value false.
Name
Gets the BrowseName of the target node to follow.
public OpcName Name { get; }Public ReadOnly Property Name As OpcNameProperty value
An instance of the OpcName class or a null reference (Nothing in Visual Basic) if all targets of the references identified by the ReferenceTypeId or ReferenceTypeName shall be followed.
ReferenceType
Gets the according OpcReferenceType value for the ReferenceTypeId to follow.
public OpcReferenceType? ReferenceType { get; }Public ReadOnly Property ReferenceType As OpcReferenceType?Property value
One of the members defined by the OpcReferenceType enumeration or a null reference (Nothing in Visual Basic) if the ReferenceTypeId either is a null reference (Nothing in Visual Basic) or refers to a type of reference not represented by the members defined by the OpcReferenceType enumeration.
ReferenceTypeId
Gets the identifier of the rference to follow.
public OpcNodeId ReferenceTypeId { get; }Public ReadOnly Property ReferenceTypeId As OpcNodeIdProperty value
An instance of the OpcNodeId class which identifies the type of reference to follow or a null reference (Nothing in Visual Basic) if all references shall be followed.
ReferenceTypeName
Gets the OpcName used to follow a specific type of reference using its BrowseName to determine the according ReferenceTypeId while following the current element.
public OpcName ReferenceTypeName { get; }Public ReadOnly Property ReferenceTypeName As OpcNameProperty value
An instance of the OpcName class to resolve the type reference while following the current element or a null reference (Nothing in Visual Basic) if the current element does not define a type of reference to follow (by name).
Methods
ToString
Returns a string representing the relative path element.
public override string ToString()Public Overrides Function ToString() As StringReturns
A string formatted using the components of the current OpcRelativePathElement.
Overrides

