ICustomTypeDescriptor.GetComponentName Method

Definition

Returns the name of this instance of a component.

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

Returns

The name of the object, or null if the object does not have a name.

Remarks

If null is returned, use the default name.

Applies to

See also