ICustomTypeDescriptor.GetClassName 方法

定义

返回此组件实例的类名称。Returns the class name of this instance of a component.

public:
 System::String ^ GetClassName();
public string GetClassName ();
abstract member GetClassName : unit -> string
Public Function GetClassName () As String

返回

String

对象的类名称,如果该类没有名称,则为 nullThe class name of the object, or null if the class does not have a name.

注解

如果 null 返回,则使用方法中的类型名称 GetComponentNameIf null is returned, use the type name from the GetComponentName method.

适用于

另请参阅