Locates a suitable factory method for the provided type.
Syntax
Visual Basic (Declaration) | |
---|
Protected Overridable Function FindFactoryMethod( _
ByVal type As Type _
) As MethodInfo |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As Factory(Of T)
Dim type As Type
Dim value As MethodInfo
value = instance.FindFactoryMethod(type) |
Parameters
- type
- The type for which a factory method is needed.
Return Value
Null if no suitable factory method could be located.
Requirements
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family
See Also