TypeDescriptor.GetFullComponentName Method (Object)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Returns the fully qualified name of the component.

Namespace:   System.ComponentModel
Assembly:  System (in System.dll)

static member GetFullComponentName : 
        component:Object -> string


Type: System.Object

The Component to find the name for.

Return Value

Type: System.String

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

Exception Condition

component is null.

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.

.NET Framework
Available since 2.0
Return to top