Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

PropertyDescriptor.GetTypeFromName Method (String)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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
Available since 1.1
Return to top
Show:
© 2018 Microsoft