# SetDetectorMethod Method
Sets the function used to detect if an application setting with a given `key` exists.
## Definition
**Namespace:** CapyKit.Helpers
**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2
**C#**
``` C#
public static void SetDetectorMethod(
Func detector
)
```
**F#**
``` F#
static member SetDetectorMethod :
detector : Func -> unit
```
#### Parameters