AxHost.ICustomTypeDescriptor.GetComponentName 方法

定义

返回当前对象的名称。Returns the name of the current object.

 virtual System::String ^ System.ComponentModel.ICustomTypeDescriptor.GetComponentName() = System::ComponentModel::ICustomTypeDescriptor::GetComponentName;
string ICustomTypeDescriptor.GetComponentName ();
Function GetComponentName () As String Implements ICustomTypeDescriptor.GetComponentName

返回

在所有情况下均返回 nullReturns null in all cases.

实现

注解

使用默认名称, ICustomTypeDescriptor.GetComponentName而不是该方法返回的值。Use the default name instead of the value that the ICustomTypeDescriptor.GetComponentName method returns.

适用于