AndroidEventHelper.RemoveEventHandler<TInterface,TImplementor> Метод
Определение
Важно!
Некоторые сведения относятся к предварительной версии продукта, в которую до выпуска могут быть внесены существенные изменения. Майкрософт не предоставляет никаких гарантий, явных или подразумеваемых, относительно приведенных здесь сведений.
public static void RemoveEventHandler<TInterface,TImplementor>(ref WeakReference? implementor, Func<TImplementor,bool> empty, Action<TInterface?> setListener, Action<TImplementor> remove) where TInterface : class where TImplementor : Java.Lang.Object, TInterface;
static member RemoveEventHandler : WeakReference * Func<'Implementor, bool (requires 'Implementor :> Java.Lang.Object and 'Implementor :> 'Interface)> * Action<'Interface (requires 'Interface : null)> * Action<'Implementor (requires 'Implementor :> Java.Lang.Object and 'Implementor :> 'Interface)> -> unit (requires 'Interface : null and 'Implementor :> Java.Lang.Object and 'Implementor :> 'Interface)
Параметры типа
- TInterface
- TImplementor
Параметры
- implementor
- WeakReference
- setListener
- Action<TInterface>
- remove
- Action<TImplementor>
Комментарии
Части этой страницы — это изменения на основе работы, созданной и общей проектом с открытым исходным кодом Android и используемой в соответствии с условиями, описанными в лицензии Creative Commons 2.5 Attribution.