Returns the latest version of a type given its name; optionally throws an error if no matching type can be found.
Syntax
Visual Basic (Usage) | Copy Code |
---|
Dim pTypeName As String
Dim pThrowOnError As Boolean
Dim pIgnoreCase As Boolean
Dim value As Type
value = ReflectionFns.GetLatestType(pTypeName, pThrowOnError, pIgnoreCase) |
Parameters
- pTypeName
- A type name to locate
- pThrowOnError
- Whether to throw an error if a matching type cannot be found
- pIgnoreCase
- Whether to ignore case when attempting a match
Return Value
The latest version of a type with the specified name
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