Partager via


UIADataDrivenAdapter.UnregisterEventListener Method

Definition

UnRegisters the registered event listener

public:
 override bool UnregisterEventListener(System::String ^ eventName, System::String ^ controlName, EventHandler<Microsoft::Uii::HostedApplicationToolkit::DataDrivenAdapter::ControlChangedEventArgs ^> ^ listenerCallback);
public override bool UnregisterEventListener (string eventName, string controlName, EventHandler<Microsoft.Uii.HostedApplicationToolkit.DataDrivenAdapter.ControlChangedEventArgs> listenerCallback);
override this.UnregisterEventListener : string * string * EventHandler<Microsoft.Uii.HostedApplicationToolkit.DataDrivenAdapter.ControlChangedEventArgs> -> bool
Public Overrides Function UnregisterEventListener (eventName As String, controlName As String, listenerCallback As EventHandler(Of ControlChangedEventArgs)) As Boolean

Parameters

eventName
String

Specifies the event name.

controlName
String

Specifies the control name.

listenerCallback
EventHandler<ControlChangedEventArgs>

Specifies the listener call back.

Returns

True if the registration was successful, otherwise false.

Applies to