IRemoteTypeContract.GetMember(String, MemberTypes, BindingFlags) 메서드

정의

현재 IContract에서 지정된 멤버 형식의 모든 지정된 멤버에 액세스할 수 있게 하는 IRemoteTypeContract 개체의 컬렉션을 반환하며, 지정된 바인딩 제약 조건을 사용합니다.

public:
 System::AddIn::Contract::Collections::IArrayContract<System::AddIn::Contract::IContract ^> ^ GetMember(System::String ^ name, System::Reflection::MemberTypes memberTypes, System::Reflection::BindingFlags bindingFlags);
public System.AddIn.Contract.Collections.IArrayContract<System.AddIn.Contract.IContract> GetMember (string name, System.Reflection.MemberTypes memberTypes, System.Reflection.BindingFlags bindingFlags);
abstract member GetMember : string * System.Reflection.MemberTypes * System.Reflection.BindingFlags -> System.AddIn.Contract.Collections.IArrayContract<System.AddIn.Contract.IContract>
Public Function GetMember (name As String, memberTypes As MemberTypes, bindingFlags As BindingFlags) As IArrayContract(Of IContract)

매개 변수

name
String

현재 IRemoteTypeContract의 멤버 이름입니다. 이 이름은 이름이 같은 여러 멤버를 나타낼 수 있습니다.

memberTypes
MemberTypes

검색할 멤버를 지정하는 MemberTypes 값의 비트 조합입니다.

bindingFlags
BindingFlags

멤버 검색 방법을 지정하는 BindingFlags 값의 비트 조합입니다.

반환

IArrayContract<IContract>

현재 IArrayContract<C>에서 memberTypesbindingFlags 매개 변수에 지정된 조건에 맞고 지정된 이름을 갖는 멤버를 나타내는 IContract 개체의 IRemoteTypeContract입니다.

설명

이 메서드는 단일 멤버인 받거나, 생성자 또는 메서드의 오버 로드와 같은 동일한 이름을 가진 여러 멤버를 가져오기 위한 사용할 수 있습니다.

적용 대상