Connectivity Software User's Guide and Reference
FindAttribute Method



OpcLabs.BaseLibPrimitives Assembly > OpcLabs.BaseLib.ComponentModel.Internal Namespace > AttributeStore Class : FindAttribute Method

The value of this parameter cannot be null (Nothing in Visual Basic).

The individual elements of the parameter value cannot be null (Nothing in Visual Basic).

The value of this parameter cannot be null (Nothing in Visual Basic).

Syntax
'Declaration
 
<JetBrains.Annotations.CanBeNullAttribute()>
Public Shared Function FindAttribute( _
   ByVal attributes() As Attribute, _
   ByVal attributeType As Type _
) As Attribute
'Usage
 
Dim attributes() As Attribute
Dim attributeType As Type
Dim value As Attribute
 
value = AttributeStore.FindAttribute(attributes, attributeType)
[JetBrains.Annotations.CanBeNull()]
public static Attribute FindAttribute( 
   Attribute[] attributes,
   Type attributeType
)
[JetBrains.Annotations.CanBeNull()]
public:
static Attribute^ FindAttribute( 
   array<Attribute^>^ attributes,
   Type^ attributeType
) 

Parameters

attributes

The value of this parameter cannot be null (Nothing in Visual Basic).

The individual elements of the parameter value cannot be null (Nothing in Visual Basic).

attributeType

The value of this parameter cannot be null (Nothing in Visual Basic).

Return Value

This method can return null (Nothing in Visual Basic).

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