Leadtools.Twain Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.8.31
SetValue Method
See Also 
Leadtools.Twain Namespace > TwainArrayCapability Class : SetValue Method




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

Syntax

Visual Basic (Declaration) 
Public Sub SetValue( _
   ByVal index As Integer, _
   ByVal value As Object _
) 
Visual Basic (Usage)Copy Code
Dim instance As TwainArrayCapability
Dim index As Integer
Dim value As Object
 
instance.SetValue(index, value)
C# 
public void SetValue( 
   int index,
   object value
)
Managed Extensions for 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 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also