CustomTypeDescriptor.GetClassName Method ()


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

Returns the fully qualified name of the class represented by this type descriptor.

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

public virtual string GetClassName()

Return Value

Type: System.String

A String containing the fully qualified class name of the type this type descriptor is describing. The default is null.


GetClassName is not a static method and thus, is not guaranteed to be thread-safe.

If a parent custom type descriptor was passed to the CustomTypeDescriptor constructor, the GetClassName method will call the parent's corresponding method.

.NET Framework
Available since 2.0
Return to top