IFiddlerPreferencesAddWatcher Method |
Add a Watcher that will be notified when a value has changed within the specified prefix.
Namespace: FiddlerAssembly: FiddlerCore4 (in FiddlerCore4.dll) Version: 4.6.2.0
Syntax PreferenceBagPrefWatcher AddWatcher(
string sPrefixFilter,
EventHandler<PrefChangeEventArgs> pcehHandler
)
Function AddWatcher (
sPrefixFilter As String,
pcehHandler As EventHandler(Of PrefChangeEventArgs)
) As PreferenceBagPrefWatcher
PreferenceBagPrefWatcher AddWatcher(
String^ sPrefixFilter,
EventHandler<PrefChangeEventArgs^>^ pcehHandler
)
Parameters
- sPrefixFilter
- Type: SystemString
The prefix of preferences for which changes are interesting - pcehHandler
- Type: SystemEventHandlerPrefChangeEventArgs
The Event handler to notify
Return Value
Type:
PreferenceBagPrefWatcherReturns the Watcher object added to the notification list
See Also