TypeDescriptor.GetFullComponentName Method (Object)

 

Returns the fully qualified name of the component.

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

public static string GetFullComponentName(
	object component
)

Parameters

component
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
ArgumentNullException

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
Show: