VintaSoft Twain .NET SDK 15.4: Documentation for .NET developer
Vintasoft.Data Namespace / StreamDataStorage Class / AddItem(String,Object) Method
Syntax Exceptions Remarks Requirements SeeAlso
In This Topic
AddItem(String,Object) Method (StreamDataStorage)
In This Topic
Adds a stream to the data storage.
Syntax
'Declaration

Public Overridable Sub AddItem( _
ByVal key
The stream filename or file URL.
As String, _
ByVal item
The stream data.
As Object _
)
public virtual void AddItem(
string key,
object item
)

Parameters

key
The stream filename or file URL.
item
The stream data.
Exceptions
ExceptionDescription
Thrown if key is null or empty.
Remarks

Method creates new file in data storage, writes data into the file and closes the file.

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