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



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

Parameters

typeId
Contains OPC node identifier (descriptor) of the type.
relativeBrowsePathString
Relative browse path string.

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