VintaSoft Twain .NET SDK 15.4: Documentation for .NET developer
Vintasoft.WinTwain.ImageUploading.Http Namespace / HttpUpload Class / AddTextField(String,String) Method
Syntax Exceptions Example Requirements SeeAlso
In This Topic
AddTextField(String,String) Method (HttpUpload)
In This Topic
Adds information about text field to the POST request.
Syntax
'Declaration

Public Function AddTextField( _
ByVal fieldName
Field name.
As String, _
ByVal fieldValue
Field value.
As String _
) As Boolean
public bool AddTextField(
string fieldName,
string fieldValue
)

Parameters

fieldName
Field name.
fieldValue
Field value.

Return Value

true if information about text field was added to the POST request successfully, otherwise, false.
Exceptions
ExceptionDescription
Thrown if field name or field value is null.
Example

Please see example here: PostData.

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