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
    형식: String

    가져올 메서드의 이름입니다.

  • bindingAttr
    형식: BindingFlags

    하나 이상을 이루어져 비트 마스크 BindingFlags 방법을 검색 수행 또는 빈 배열을 반환 하려면 0을 지정 하는.

  • binder
    형식: Binder

    A Binder 속성 집합을 정의 하 고 바인딩, 인수 형식의 강제 변환; 리플렉션을 통해 멤버를 호출 하 고 오버 로드 된 메서드를 활성화 하는 활성화 개체 or nullNull 참조(Visual Basic의 경우 Nothing) to use the DefaultBinder.

  • types
    형식: array<Type[]

    배열을 Type 개체의 수와 순서를 메서드에 대 한 매개 변수의 형식 또는 빈 배열입니다 Type 개체 (제공 된 EmptyTypes 필드) 매개 변수가 없는 메서드를.

  • modifiers
    형식: array<ParameterModifier[]

    배열을 ParameterModifier 형식 배열의 해당 요소와 연관 된 특성을 나타내는 개체입니다. 통해 COM interop, 및 유일한 매개 변수가 참조로 전달 되는 호출 처리 하는 경우 사용 합니다. 기본 바인더에서는 이 매개 변수를 처리하지 않습니다.

반환 값

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

구현

IReflect.GetMethod(String, BindingFlags, Binder, Type, ParameterModifier)

.NET Framework 보안

참고 항목

참조

DataViewBrowseObject 클래스

GetMethod 오버로드

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