_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.

注解

此属性是用于访问托管类到从非托管代码,不应从托管代码调用。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.

适用于