JSMethod.MemberType 属性

定义

获取此方法所充当成员的类型。Gets the type of member that this method is. 标识派生自 MemberInfo(此类从中派生)的类的类型。Identifies the type of class derived from MemberInfo that this class derives from.

此 API 支持产品基础结构,不能在代码中直接使用。

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

属性值

MemberTypes

由于此类派生自 Method,因此为 MethodInfoMethod, because this class derives from MethodInfo.

适用于

另请参阅