Looks up a type name and tries to retrieve the
full type reference in the actively executing assemblies. Credits to Rick Strahl, http://www.west-wind.com/WebLog/posts/145234.aspx
Allows you to avoid using fully qualified AssemblyQualifiedName.
Namespace: MonoSoftware.CoreAssembly: MonoSoftware.Core (in MonoSoftware.Core.dll) Version: 1.0.40.669 (1.0.40.669)
Syntax
C# |
---|
public static Type GetTypeFromName(
string typeName
) |
Visual Basic |
---|
Public Shared Function GetTypeFromName (
typeName As String
) As Type |
Visual C++ |
---|
public:
static Type^ GetTypeFromName(
String^ typeName
) |
F# |
---|
static member GetTypeFromName :
typeName : string -> Type
|
Return Value
Type:
TypeType inferred from the type name.
See Also