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


In This Topic
    OnValidateNewItems Method (DateTimeDisplayFieldCollection)
    In This Topic
    Performs additional custom processes to validating adding items.
    Syntax
    'Declaration
     
    
    Protected Overridable Sub OnValidateNewItems( _
       ByVal oldItem As Object, _
       ByVal newItems() As Object _
    ) 
    'Usage
     
    
    Dim instance As DateTimeDisplayFieldCollection
    Dim oldItem As Object
    Dim newItems() As Object
     
    instance.OnValidateNewItems(oldItem, newItems)
    protected virtual 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