SubMenuStyle.ICustomTypeDescriptor.GetComponentName 方法

定义

有关此成员的说明,请参见 GetComponentName()For a description of this member, see GetComponentName().

 virtual System::String ^ System.ComponentModel.ICustomTypeDescriptor.GetComponentName() = System::ComponentModel::ICustomTypeDescriptor::GetComponentName;
string ICustomTypeDescriptor.GetComponentName ();
abstract member System.ComponentModel.ICustomTypeDescriptor.GetComponentName : unit -> string
override this.System.ComponentModel.ICustomTypeDescriptor.GetComponentName : unit -> string
Function GetComponentName () As String Implements ICustomTypeDescriptor.GetComponentName

返回

String

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

实现

注解

此成员是显式接口成员的实现。This member is an explicit interface member implementation. 它只能在 SubMenuStyle 实例被强制转换为接口时使用 ICustomTypeDescriptorIt can only be used when the SubMenuStyle instance is cast to the ICustomTypeDescriptor interface.

适用于