_Type.MemberType 属性

定义

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

属性获取一个MemberTypes值,该值指示此成员是类型还是嵌套类型。 Type.MemberTypeThe Type.MemberType property gets a MemberTypes value indicating that this member is a type or a nested type.

适用于