IRemoteEventInfoContract.GetAddMethod 메서드

정의

IRemoteEventInfoContract가 식별하는 이벤트에 이벤트 처리기 대리자를 추가하는 데 사용된 메서드를 반환합니다.

public:
 System::AddIn::Contract::Automation::IRemoteMethodInfoContract ^ GetAddMethod();
public System.AddIn.Contract.Automation.IRemoteMethodInfoContract GetAddMethod ();
abstract member GetAddMethod : unit -> System.AddIn.Contract.Automation.IRemoteMethodInfoContract
Public Function GetAddMethod () As IRemoteMethodInfoContract

반환

IRemoteMethodInfoContract가 식별하는 이벤트에 이벤트 처리기 대리자를 추가하는 데 사용된 메서드를 나타내는 IRemoteEventInfoContract입니다.

설명

대리자에 이벤트를 추가 하려면 호출을 Invoke 메서드의 IRemoteMethodInfoContractGetAddMethod 반환 합니다. 전달를 IRemoteDelegateContract 대리자를 나타내는 합니다 parameters 의 매개 변수 Invoke합니다.

적용 대상