OPC Studio User's Guide and Reference
Find Method (_ConfigurationPartCollection)



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Configuration.Abstract.ComTypes Namespace > _ConfigurationPartCollection Interface : Find Method
Full type name of the configuration part to be found.

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

Finds a configuration part given its full type name.
Syntax
'Declaration
 
<CanBeNullAttribute()>
Function Find( _
   ByVal typeName As String _
) As Object
'Usage
 
Dim instance As _ConfigurationPartCollection
Dim typeName As String
Dim value As Object
 
value = instance.Find(typeName)
[CanBeNull()]
object Find( 
   string typeName
)
[CanBeNull()]
Object^ Find( 
   String^ typeName
) 

Parameters

typeName
Full type name of the configuration part to be found.

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

Return Value

Returns a non-null configuration part if the configuration part is found; returns a null reference otherwise.

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

Remarks

This member or type is for use from COM. It is not meant to be used from .NET or Python. Refer to the corresponding .NET member or type instead, if you are developing in .NET or Python.

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