Leadtools TWAIN (Leadtools.Twain assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
SetValue Method
See Also 
Leadtools.Twain Namespace > TwainEnumerationCapability Class : SetValue Method



index
Index into the array of values.
value
The value to set.
index
Index into the array of values.
value
The value to set.
Sets the value of the TwainEnumerationCapability object.

Syntax

Visual Basic (Declaration) 
Public Sub SetValue( _
   ByVal index As Integer, _
   ByVal value As Object _
) 
Visual Basic (Usage)Copy Code
Dim instance As TwainEnumerationCapability
Dim index As Integer
Dim value As Object
 
instance.SetValue(index, value)
C# 
public void SetValue( 
   int index,
   object value
)
C++/CLI 
public:
void SetValue( 
   int index,
   Object^ value
) 

Parameters

index
Index into the array of values.
value
The value to set.

Example

Remarks

index must be between 0 and Count.
For more information, refer to How to Work with the Container.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also