Spread Windows Forms 17
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType.Fields Namespace / DateTimeFieldCollection Class / OnValidateNewItems Method
An object indicates the old item when set item.
An object array indicates the new items.


In This Topic
    OnValidateNewItems Method (DateTimeFieldCollection)
    In This Topic
    Performs additional custom processes to validating adding items.
    Syntax
    'Declaration
     
    
    Protected Overrides Sub OnValidateNewItems( _
       ByVal oldItem As Object, _
       ByVal newItems() As Object _
    ) 
    'Usage
     
    
    Dim instance As DateTimeFieldCollection
    Dim oldItem As Object
    Dim newItems() As Object
     
    instance.OnValidateNewItems(oldItem, newItems)
    protected override void OnValidateNewItems( 
       object oldItem,
       object[] newItems
    )

    Parameters

    oldItem
    An object indicates the old item when set item.
    newItems
    An object array indicates the new items.
    See Also