UIADataDrivenAdapter.UnregisterEventListener Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
.