GrapeCity MultiRow Windows Forms Documentation
SetItem Method (ValidateActionCollection)


The zero based index of the element to replace.
The new value for the element at the specified index.
Replaces the element at the specified index.
Syntax
Protected Overrides Sub SetItem( _
   ByVal index As Integer, _
   ByVal item As CellValidateAction _
) 
Dim instance As ValidateActionCollection
Dim index As Integer
Dim item As CellValidateAction
 
instance.SetItem(index, item)
protected override void SetItem( 
   int index,
   CellValidateAction item
)

Parameters

index
The zero based index of the element to replace.
item
The new value for the element at the specified index.
Exceptions
ExceptionDescription
System.ArgumentNullExceptionThe item is a null reference (Nothing in Visual Basic).
System.ArgumentOutOfRangeExceptionThe index is less than 0 or greater than or equal to items' count.
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

Reference

ValidateActionCollection Class
ValidateActionCollection Members

 

 


Copyright © GrapeCity, inc. All rights reserved.