共用方式為


Reflect.GetMethodsWithAttribute(Type, Type, Boolean) 方法

定義

public static System.Reflection.MethodInfo[] GetMethodsWithAttribute(Type fixtureType, Type attributeType, bool inherit);
static member GetMethodsWithAttribute : Type * Type * bool -> System.Reflection.MethodInfo[]

參數

fixtureType
Type
attributeType
Type
inherit
Boolean

傳回

適用於