Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

PropertyDescriptor.GetTypeFromName Method

Returns a type using its name.

[Visual Basic]
Protected Function GetTypeFromName( _
   ByVal typeName As String _
) As Type
protected Type GetTypeFromName(
 string typeName
protected: Type* GetTypeFromName(
 String* typeName
protected function GetTypeFromName(
   typeName : String
) : Type;


The assembly-qualified name of the type to retrieve.

Return Value

A Type that matches the given type name, or a null reference (Nothing in Visual Basic) 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.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

PropertyDescriptor Class | PropertyDescriptor Members | System.ComponentModel Namespace

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft. All rights reserved.