_Type.Name 屬性

定義

為 COM 物件提供與版本無關的 Name 屬性之存取權。Provides COM objects with version-independent access to the Name property.

public:
 property System::String ^ Name { System::String ^ get(); };
public string Name { get; }
member this.Name : string
Public ReadOnly Property Name As String

屬性值

Type 的名稱。The name of the Type.

備註

這個屬性是用來從非受控程式碼存取 managed 類別,而且不應該從 managed 程式碼呼叫。This property is for access to managed classes from unmanaged code, and should not be called from managed code.

MemberInfo.Name 屬性會取得 Type的名稱。The MemberInfo.Name property gets the name of the Type.

適用於