NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

CheckedListBox.SetItemChecked

Sets the checked value of the given item. This value should be a boolean.

[Visual Basic]
Public Sub SetItemChecked( _
   ByVal index As Integer, _
   ByVal value As Boolean _
)
[C#]
public void SetItemChecked(
   int index,
   bool value
);
[C++]
public: void SetItemChecked(
   int index,
   bool value
);
[JScript]
public function SetItemChecked(
   index : int,
   value : Boolean
);

Parameters

index
Index of the item to set the checkstate for.
value
New value for displaying a check.

See Also

CheckedListBox Class | CheckedListBox Members | System.WinForms Namespace