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



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

Parameters

typeId
Contains OPC node identifier (descriptor) of the type.
relativeBrowsePathString
Relative browse path string.
attributeId
Attribute Id. Identifies an attribute of a node.

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