VintaSoft Twain .NET SDK 15.1: Documentation for .NET developer
Vintasoft.WpfTwain Namespace / KodakDeviceProfileCollection Class / Remove Methods / Remove(String,String) Method
Syntax Exceptions Requirements SeeAlso
In This Topic
    Remove(String,String) Method (KodakDeviceProfileCollection)
    In This Topic
    Removes the specified KodakDeviceProfile from this collection and changes the selected profile to the specified profile.
    Syntax
    'Declaration
    
    Public Overloads Sub Remove( _
    ByVal profileName
    The profile name to remove.
    As String, _
    ByVal nextSelectedProfileName
    The name of profile, which must be set as selected after remove.
    As String _
    )

    Parameters

    profileName
    The profile name to remove.
    nextSelectedProfileName
    The name of 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 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also