Gets the name of the class for the specified component.
[Visual Basic] Overloads Public Shared Function GetComponentName( _ ByVal component As Object, _ ByVal fNoCustomTypeDesc As Boolean _ ) As String [C#] public static string GetComponentName( object component, bool fNoCustomTypeDesc ); [C++] public: static String* GetComponentName( Object* component, bool fNoCustomTypeDesc ); [JScript] public static function GetComponentName( component : Object, fNoCustomTypeDesc : Boolean ) : String;
The name of the class for the specified component.
Typically, this returns the name for the site of the component, if one exists. If the component
implements ICustomTypeDescriptor, it can return an alternate name.
TypeDescriptor Class | TypeDescriptor Members | System.ComponentModel Namespace | TypeDescriptor.GetComponentName Overload List | TypeDescriptor | EventDescriptor | PropertyDescriptor | ICustomTypeDescriptor