Spread Windows Forms 10.0 Product Documentation
OnValidateNewItems Method (FieldCollection<T>)


An object indicates the old item when set item.
An object array indicates the new items.
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 FieldCollection(Of T)
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.
Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

FieldCollection<T> Class
FieldCollection<T> Members

 

 


Copyright © GrapeCity, inc. All rights reserved.