_Type.MemberType _Type.MemberType _Type.MemberType _Type.MemberType Property

定義

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

public:
 property System::Reflection::MemberTypes MemberType { System::Reflection::MemberTypes get(); };
public System.Reflection.MemberTypes MemberType { get; }
member this.MemberType : System.Reflection.MemberTypes
Public ReadOnly Property MemberType As MemberTypes

屬性值

一個 MemberTypes 值,代表這個成員是類型或巢狀類型。A MemberTypes value indicating that this member is a type or a nested type.

備註

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

Type.MemberType屬性會MemberTypes取得值,表示這個成員是類型或巢狀型別。The Type.MemberType property gets a MemberTypes value indicating that this member is a type or a nested type.

適用於