TypeDescriptor.GetFullComponentName(Object) Method

Definition

Returns the fully qualified name of the component.

public:
 static System::String ^ GetFullComponentName(System::Object ^ component);
public static string GetFullComponentName (object component);
public static string? GetFullComponentName (object component);
static member GetFullComponentName : obj -> string
Public Shared Function GetFullComponentName (component As Object) As String

Parameters

component
Object

The Component to find the name for.

Returns

The fully qualified name of the specified component, or null if the component has no name.

Exceptions

component is null.

Remarks

In many cases, the GetFullComponentName method will return the same value as the GetComponentName method. However, if the component resides in a nested container or has other nested semantics, it may return a different fully qualified name.

Applies to

See also