VintaSoft Twain .NET SDK 15.1: Documentation for .NET developer
Vintasoft.Twain Namespace / KodakDeviceProfileCollection Class / Add Methods / Add(String,String) Method
Syntax Exceptions Requirements SeeAlso
In This Topic
    Add(String,String) Method (KodakDeviceProfileCollection)
    In This Topic
    Adds the profile to the collection.
    Syntax
    'Declaration
    
    Public Overloads Sub Add( _
    ByVal profileName
    The profile name.
    As String, _
    ByVal profileIconFilePath
    The profile icon path.
    As String _
    )

    Parameters

    profileName
    The profile name.
    profileIconFilePath
    The profile icon path.
    Exceptions
    ExceptionDescription
    Thrown if collection contains profile with specified name.
    Thrown if device is disposed.
    Thrown if device is closed.
    Thrown if profile is not created.
    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