QuickOPC User's Guide and Reference
Attribute(UANodeDescriptor,String,UAAttributeId,UAIndexRangeList) Method



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.Filtering Namespace > UAFilterElements Class > Attribute Method : Attribute(UANodeDescriptor,String,UAAttributeId,UAIndexRangeList) Method
Contains OPC node identifier (descriptor) of the type.
Relative browse path string.
Attribute Id. Identifies an attribute of a node.
List of index ranges for individual array dimensions.
Creates a new attribute operand, with specified type identifier (descriptor), a relative browse path string, an attribute Id, and an index range list.
Syntax
'Declaration
 
<NotNullAttribute()>
Public Overloads Shared Function Attribute( _
   ByVal typeId As UANodeDescriptor, _
   ByVal relativeBrowsePathString As String, _
   ByVal attributeId As UAAttributeId, _
   ByVal indexRangeList As UAIndexRangeList _
) As UAAttributeOperand
'Usage
 
Dim typeId As UANodeDescriptor
Dim relativeBrowsePathString As String
Dim attributeId As UAAttributeId
Dim indexRangeList As UAIndexRangeList
Dim value As UAAttributeOperand
 
value = UAFilterElements.Attribute(typeId, relativeBrowsePathString, attributeId, indexRangeList)

Parameters

typeId
Contains OPC node identifier (descriptor) of the type.
relativeBrowsePathString
Relative browse path string.
attributeId
Attribute Id. Identifies an attribute of a node.
indexRangeList
List of index ranges for individual array dimensions.

Return Value

The created operand.
Exceptions
ExceptionDescription
Thrown when the OPC UA browse path cannot be parsed.
Remarks
Default namespace used when parsing the browse path string is "http://opcfoundation.org/UA/".
Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also