IReflect.GetMethods(BindingFlags) 메서드

정의

모든 공용 메서드나 현재 클래스의 모든 메서드가 포함된 MethodInfo 개체의 배열을 검색합니다.

public:
 cli::array <System::Reflection::MethodInfo ^> ^ GetMethods(System::Reflection::BindingFlags bindingAttr);
public System.Reflection.MethodInfo[] GetMethods (System.Reflection.BindingFlags bindingAttr);
abstract member GetMethods : System.Reflection.BindingFlags -> System.Reflection.MethodInfo[]
Public Function GetMethods (bindingAttr As BindingFlags) As MethodInfo()

매개 변수

bindingAttr
BindingFlags

검색을 제어하는 데 사용되는 바인딩 특성입니다.

반환

MethodInfo[]

bindingAttr에 지정된 검색 제약 조건을 충족하는 이 리플렉션 개체에 대해 정의된 모든 메서드가 포함된 MethodInfo 개체의 배열입니다.

설명

public이 아닌 특성 bindingAttr 은 public 메서드가 반환되는 경우에만 표시됩니다.

적용 대상

추가 정보