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


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