Version

SetItemState Method (WinListViewRecordReplayServer)

Sets the state of the check box for a specified ListView item.
Syntax
'Declaration
 
Public Sub SetItemState( _
   ByVal item As System.Object, _
   ByVal Checkstate As System.String _
) 
public void SetItemState( 
   System.object item,
   System.string Checkstate
)

Parameters

item
The item whose check box you want to set. The item value (with quotes) or numeric index (without quotes) can denote the item. The first item in a list is numbered 0.
Checkstate
a string that represent the check state. The value of this parameter can be one of the following: Checked, Unchecked, Indeterminate.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also