İngilizce dilinde oku Düzenle

Aracılığıyla paylaş


TypeDescriptor.GetFullComponentName(Object) Method

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Returns the fully qualified name of the component.

C#
public static string? GetFullComponentName(object component);
C#
public static string GetFullComponentName(object component);

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

Ürün Sürümler
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1

See also