Performs additional custom processes to validating adding items.
Syntax
'Declaration
Protected Overrides Sub OnValidateNewItems( _
ByVal As Object, _
ByVal () As Object _
)
'Usage
Dim instance As DateTimeFieldCollection
Dim oldItem As Object
Dim newItems() As Object
instance.OnValidateNewItems(oldItem, newItems)
protected override void OnValidateNewItems(
object ,
object[]
)
Parameters
- oldItem
- An object indicates the old item when set item.
- newItems
- An object array indicates the new items.
See Also