VintaSoft Twain .NET SDK 15.4: Documentation for .NET developer
Vintasoft.Twain Namespace / KodakDeviceProfileCollection Class / Remove Methods / Remove(KodakDeviceProfile,KodakDeviceProfile) Method
Syntax Exceptions Requirements SeeAlso
In This Topic
Remove(KodakDeviceProfile,KodakDeviceProfile) Method (KodakDeviceProfileCollection)
In This Topic
Removes the specified KodakDeviceProfile from this collection and changes the selected profile to the specified profile.
Syntax

Parameters

profile
KodakDeviceProfile to remove.
nextSelectedProfile
The profile, which must be set as selected after remove.
Exceptions
ExceptionDescription
Thrown if profile is null.
Thrown if profile is not present in the collection.
Thrown if device is disposed.
Thrown if device is closed.
Thrown if profile and nextSelectedProfile are equal.
Requirements

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

See Also