This documentation is archived and is not being maintained.

ICustomTypeDescriptor.GetComponentName Method

Returns the name of this object.

[Visual Basic]
Function GetComponentName() As String
string GetComponentName();
String* GetComponentName();
function GetComponentName() : String;

Return Value

The name of the object, or a null reference (Nothing in Visual Basic) if object does not have a name.


If a null reference (Nothing in Visual Basic) is returned, use the default name.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

See Also

ICustomTypeDescriptor Interface | ICustomTypeDescriptor Members | System.ComponentModel Namespace | ICustomTypeDescriptor | TypeDescriptor