VintaSoft Twain .NET SDK v10.2
AddTextField Method (HttpUpload)




Vintasoft.Twain.ImageUploading.Http Namespace > HttpUpload Class : AddTextField Method
Field name.
Field value.
Adds information about text field to the POST request.
Syntax
'Declaration
 
Public Function AddTextField( _
   ByVal fieldName As String, _
   ByVal fieldValue As String _
) As Boolean
'Usage
 
Dim instance As HttpUpload
Dim fieldName As String
Dim fieldValue As String
Dim value As Boolean
 
value = instance.AddTextField(fieldName, fieldValue)
public bool AddTextField( 
   string fieldName,
   string fieldValue
)
public: bool AddTextField( 
   string* fieldName,
   string* fieldValue
) 
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.
Requirements

Target Platforms: Windows 8, Windows 7, Windows Vista, Windows XP, Windows Server 2012, Windows Server 2008, Windows Server 2003

See Also

Reference

HttpUpload Class
HttpUpload Members
ClearTextFields Method