DataViewBrowseObject.IReflect.GetMethod 메서드 (String, BindingFlags, Binder, array<Type[], array<ParameterModifier )

해당 매개 변수와 일치 하는 지정 된 인수 형식 및 한정자를 지정 된 바인딩 제약 조건 유형을 현재 인스턴스를 사용 하 여 지정 된 메서드를 검색 합니다.

네임스페이스:  Microsoft.VisualStudio.Data.Framework
어셈블리:  Microsoft.VisualStudio.Data.Framework(Microsoft.VisualStudio.Data.Framework.dll)

구문

‘선언
Private Function GetMethod ( _
    name As String, _
    bindingAttr As BindingFlags, _
    binder As Binder, _
    types As Type(), _
    modifiers As ParameterModifier() _
) As MethodInfo Implements IReflect.GetMethod
MethodInfo IReflect.GetMethod(
    string name,
    BindingFlags bindingAttr,
    Binder binder,
    Type[] types,
    ParameterModifier[] modifiers
)
private:
virtual MethodInfo^ GetMethod(
    String^ name, 
    BindingFlags bindingAttr, 
    Binder^ binder, 
    array<Type^>^ types, 
    array<ParameterModifier>^ modifiers
) sealed = IReflect::GetMethod
private abstract GetMethod : 
        name:string * 
        bindingAttr:BindingFlags * 
        binder:Binder * 
        types:Type[] * 
        modifiers:ParameterModifier[] -> MethodInfo 
private override GetMethod : 
        name:string * 
        bindingAttr:BindingFlags * 
        binder:Binder * 
        types:Type[] * 
        modifiers:ParameterModifier[] -> MethodInfo 
JScript에서는 명시적 인터페이스 구현을 지원하지 않습니다.

매개 변수

  • name
    형식: System.String
    가져올 메서드의 이름입니다.
  • binder
    형식: System.Reflection.Binder
    A Binder 는 속성 집합을 정의 하 고 바인딩, 인수 형식의 강제 변환; 리플렉션을 통해 멤버를 호출 하 고 오버 로드 된 메서드의 선택 영역에 포함 될 수 있습니다 사용할 수 있는 개체 or nullNull 참조(Visual Basic의 경우 Nothing) to use the DefaultBinder.
  • types
    형식: array<System.Type[]
    배열을 [T:System.]입력 개체의 수, 순서 및 get 메서드 매개 변수 형식 또는 빈 배열을 나타내는 Type 개체 (제공으로 EmptyTypes 필드) 매개 변수가 없는 메서드를 가져오려면.
  • modifiers
    형식: array<System.Reflection.ParameterModifier[]
    배열을 ParameterModifier 형식 배열의 해당 요소와 연관 된 속성을 나타내는 개체입니다.만 때 참조로 전달 된 COM interop, 및 유일한 매개 변수를 통해 호출 처리 했습니다.기본 바인더에서는 이 매개 변수를 처리하지 않습니다.

반환 값

형식: System.Reflection.MethodInfo
A MethodInfo 개체를 경우 지정 된 바인딩 제약 조건 현재 인스턴스의 형식에 대해 일치 하는 메서드를 나타내는 찾을 수 있습니다. 그렇지 않으면 nullNull 참조(Visual Basic의 경우 Nothing).

구현

IReflect.GetMethod(String, BindingFlags, Binder, array<Type[], array<ParameterModifier[])

.NET Framework 보안

  • 직접 실행 호출자의 경우 완전히 신뢰합니다. 이 멤버는 부분적으로 신뢰할 수 있는 코드에서 사용할 수 없습니다. 자세한 내용은 부분 신뢰 코드에서 라이브러리 사용을 참조하십시오.

참고 항목

참조

DataViewBrowseObject 클래스

GetMethod 오버로드

Microsoft.VisualStudio.Data.Framework 네임스페이스