QuickOPC User's Guide and Reference
FindByName Method (_ConfigurationPartCollection)



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Configuration.Abstract.ComTypes Namespace > _ConfigurationPartCollection Interface : FindByName Method
Unqualified name of the configuration part to be found.
Determines whether the search is case sensitive.
Finds a configuration part given its unqualified name.
Syntax
'Declaration
 
<CanBeNullAttribute()>
Function FindByName( _
   ByVal name As String, _
   ByVal ignoreCase As Boolean _
) As Object
'Usage
 
Dim instance As _ConfigurationPartCollection
Dim name As String
Dim ignoreCase As Boolean
Dim value As Object
 
value = instance.FindByName(name, ignoreCase)
[CanBeNull()]
object FindByName( 
   string name,
   bool ignoreCase
)
[CanBeNull()]
Object^ FindByName( 
   String^ name,
   bool ignoreCase
) 

Parameters

name
Unqualified name of the configuration part to be found.
ignoreCase
Determines whether the search is case sensitive.

Return Value

Returns a non-null configuration part if the configuration part is found; returns a null reference otherwise.
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