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.

適用於