Spread Windows Forms 18
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType Namespace / CollectionBase<T> Class / OnValidate Method
The object to validate.


In This Topic
    OnValidate Method (CollectionBase<T>)
    In This Topic
    Performs additional custom processes when validating a value.
    Syntax
    'Declaration
     
    
    Protected Overrides Sub OnValidate( _
       ByVal value As Object _
    ) 
    'Usage
     
    
    Dim instance As CollectionBase(Of T)
    Dim value As Object
     
    instance.OnValidate(value)
    protected override void OnValidate( 
       object value
    )

    Parameters

    value
    The object to validate.
    Exceptions
    ExceptionDescription
    value is null.
    The collection is locked.
    See Also