Edit

Share via


TypeDescriptor.GetFullComponentName(Object) Method

Definition

Returns the fully qualified name of the component.

public:
 static System::String ^ GetFullComponentName(System::Object ^ component);
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("The Type of component cannot be statically discovered.")]
public static string? GetFullComponentName(object component);
public static string GetFullComponentName(object component);
[<System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("The Type of component cannot be statically discovered.")>]
static member GetFullComponentName : obj -> string
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.

Attributes

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