TypeDescriptor.GetFullComponentName(Object) 方法

定義

傳回元件的完整名稱。

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

參數

component
Object

Component要找到這個名字。

傳回

指定元件的完全限定名稱,或 null 元件沒有名稱。

例外狀況

componentnull

備註

在許多情況下,該 GetFullComponentName 方法會回傳與方法 GetComponentName 相同的值。 然而,若元件位於巢狀容器中或具有其他巢狀語意,則可能會回傳不同的完全限定名稱。

適用於

另請參閱