'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.
The value of this parameter can be
null
(Nothing
in Visual Basic). - 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.
This method can return null
(Nothing
in Visual Basic).