Aracılığıyla paylaş


IRemoteEventInfoContract.GetRemoveMethod Yöntem

Tanım

Bunun tanımladığı olaydan IRemoteEventInfoContract bir olay işleyicisi temsilcisini kaldırmak için kullanılan yöntemi döndürür.

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

Döndürülenler

Bir IRemoteMethodInfoContract olay işleyicisi temsilcisini tanımlandığı IRemoteEventInfoContract olaydan kaldırmak için kullanılan yöntemi temsil eden.

Açıklamalar

Bir temsilciyi olaydan kaldırmak için, döndüren GetRemoveMethod yöntemini IRemoteMethodInfoContract çağırınInvoke. Temsilcisini parameters temsil eden bir IRemoteDelegateContract öğesini parametresine Invokegeçirin.

Şunlara uygulanır