ContextItemManager.RemoveCallback(Delegate, Delegate) Yöntem

Tanım

Temsilci kaldırma işlemleri gerçekleştiren ve genel geri çağırmaların proxy'leri olan temsilcilerini kaldıran bir yardımcı yöntemi temsil eder.

protected:
 static Delegate ^ RemoveCallback(Delegate ^ existing, Delegate ^ toRemove);
protected static Delegate RemoveCallback (Delegate existing, Delegate toRemove);
static member RemoveCallback : Delegate * Delegate -> Delegate
Protected Shared Function RemoveCallback (existing As Delegate, toRemove As Delegate) As Delegate

Parametreler

existing
Delegate

Mevcut temsilci.

toRemove
Delegate

öğesinden existingkaldırılacak temsilci.

Döndürülenler

, öğesine atanması gereken yeni temsilciyi existingiçeren öğesini döndürürDelegate.

Açıklamalar

Yönteminin uygulamalarınızda Unsubscribe bu yöntemi kullanın.

Şunlara uygulanır