_ConstructorInfo.MemberType _ConstructorInfo.MemberType _ConstructorInfo.MemberType _ConstructorInfo.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 the type of member.

注解

此方法用于访问托管类到从非托管代码,不应从托管代码调用。This method is for access to managed classes from unmanaged code, and should not be called from managed code.

MemberType属性获取MemberTypes值,该值指示成员的方法、 构造函数、 事件和等等的类型。The MemberType property gets a MemberTypes value indicating the type of the member - method, constructor, event, and so on.

适用于