QuickOPC User's Guide and Reference
Find(String) Method



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Configuration Namespace > ConfigurationPartCollection Class > Find Method : Find(String) Method
Type name of the configuration part to be found.
Finds a configuration part given its type name.
Syntax
'Declaration
 
<CanBeNullAttribute()>
Public Overloads 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()]
public object Find( 
   string typeName
)
[CanBeNull()]
public:
Object^ Find( 
   String^ typeName
) 

Parameters

typeName
Type name of the configuration part to be found.

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 7 with SP1, Windows Server 2012; .NET Core: Linux, Microsoft Windows

See Also

Reference

ConfigurationPartCollection Class
ConfigurationPartCollection Members
Overload List