Parameters
- profile
- KodakDeviceProfile to remove.
- nextSelectedProfile
- The profile, which must be set as selected after remove.
| Exception | Description |
|---|---|
| System.ArgumentNullException | Thrown if profile is null. |
| System.ArgumentException | Thrown if profile is not present in the collection. |
| System.ObjectDisposedException | Thrown if device is disposed. |
| TwainInvalidStateException | Thrown if device is closed. |
| System.InvalidOperationException | Thrown if profile and nextSelectedProfile are equal. |
Target Platforms: .NET 10; .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5