Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
GetTypeFromName Method

PropertyDescriptor.GetTypeFromName Method

Returns a type using its name.

Namespace:  System.ComponentModel
Assembly:  System (in System.dll)

protected Type GetTypeFromName(
	string typeName
)

Parameters

typeName
Type: System.String

The assembly-qualified name of the type to retrieve.

Return Value

Type: System.Type
A Type that matches the given type name, or null if a match cannot be found.

To find the appropriate type, this method first checks the assembly of the type that this PropertyDescriptor references. If it does not find the type in the assembly, it calls Type.GetType.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft