Finds an element in the collection that matches the specified type and name.
'Declaration
Public Overridable Function FindByType( _
ByVal As Type, _
ByVal As String _
) As Object
'Usage
Dim instance As Elements
Dim t As Type
Dim elementName As String
Dim value As Object
value = instance.FindByType(t, elementName)
Parameters
- t
- Type of element
- elementName
- Name of element