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


In This Topic
    OnValidateNewItems Method (TimeSpanFieldCollection)
    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 TimeSpanFieldCollection
    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