Gets the name of the class for the specified component using the custom type descriptor when fNoCustomTypeDesc
is false.
[Visual Basic] Overloads Public Shared Function GetClassName( _ ByVal component As Object, _ ByVal fNoCustomTypeDesc As Boolean _ ) As String [C#] public static string GetClassName( object component, bool fNoCustomTypeDesc ); [C++] public: static String* GetClassName( Object* component, bool fNoCustomTypeDesc ); [JScript] public static function GetClassName( component : Object, fNoCustomTypeDesc : Boolean ) : String;
The name of the class for the specified component.
Typically, this returns the full Type name for the component's type. If the component implements ICustomTypeDescriptor, it can return an alternate name.
TypeDescriptor Class | TypeDescriptor Members | System.ComponentModel Namespace | TypeDescriptor.GetClassName Overload List | TypeDescriptor | EventDescriptor | PropertyDescriptor | ICustomTypeDescriptor