# CanAutoDetect

> Any extensions marked as IFormatter.CanAutoDetect will be called implicitly (when no formatter name is specified in the input format string). For example, "{0:N2}" will implicitly call extensions marked as IFormatter.CanAutoDetect. Implicit formatter invocations should not throw exceptions. With IFormatter.CanAutoDetect == false, the formatter can only be called by its name in the input format string.

## Definition

* **Type:** Property
* **Namespace:** [Unity.SmartStrings.Core.Extensions](/engine/6000.7/script-reference/unity/smartstrings/core/extensions.md)
* **Assembly:** UnityEngine.SmartStringsModule

```csharp
bool CanAutoDetect { get; set; }
```

### Remarks

If more than one registered [IFormatter](/engine/6000.7/script-reference/unity/smartstrings/core/extensions/iformatter.md) can auto-detect, the first one in the formatter list will win.
