Namespace: Opc.UaFx
Assemblies: Opc.UaFx.Advanced.dll, Opc.UaFx.Advanced.dll
The OpcRelativePathElement type exposes the following members.
Initializes a new instance of the OpcRelativePathElement class following HierarchicalReferences using the name
specified.
C#
public OpcRelativePathElement(OpcName name)
Parameters
name
OpcName
The OpcName value of the BrowseName attribute to follow.
Exceptions
The name
is a null reference (Nothing in Visual Basic).
Initializes a new instance of the OpcRelativePathElement class following the referenceType
and name
specified.
C#
public OpcRelativePathElement(OpcName name, OpcReferenceType referenceType)
Parameters
name
OpcName
The OpcName value of the BrowseName attribute to follow.
referenceType
OpcReferenceType
The OpcReferenceType to follow.
Exceptions
The name
is a null reference (Nothing in Visual Basic).
Gets a value indicating in which direction the references shall be followed.
C#
public OpcReferenceDirection Direction { get; }
Property Value
One of the members defined by the OpcReferenceDirection enumeration.
Gets a value indicating whether subtypes of the type of reference identified by either ReferenceTypeId or ReferenceTypeName shall be followed as well.
C#
public bool IncludeSubtypes { get; }
Property Value
The value true to follow subtypes of the type of reference identified by either ReferenceTypeId or ReferenceTypeName; otherwise the value false.
Gets the BrowseName of the target node to follow.
C#
public OpcName Name { get; }
Property 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.
Gets the according OpcReferenceType value for the ReferenceTypeId to follow.
C#
public OpcReferenceType? ReferenceType { get; }
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.
Gets the OpcName used to follow a specific type of reference using its BrowseName to determine the according ReferenceTypeId while following the current element.
C#
public OpcName ReferenceTypeName { get; }
Property 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).
Returns a string representing the relative path element.
C#
public override string ToString()
Returns
A string formatted using the components of the current OpcRelativePathElement.