Επεξεργασία

Κοινή χρήση μέσω


_MemberInfo.MemberType Property

Definition

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

Property Value

One of the MemberTypes values indicating the type of member.

Remarks

This property is for access to managed classes from unmanaged code and should not be called from managed code.

The MemberInfo.MemberType property gets a MemberTypes value indicating the type of the member - method, constructor, event, and so on.

Applies to