Spread Windows Forms 15.0
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType Namespace / TimeSpanFieldCollectionInfo Class / OnSet Method
The zero-based index at which oldValue can be found.
The value to replace with newValue.
The new value of the element at the specified index.


In This Topic
    OnSet Method (TimeSpanFieldCollectionInfo)
    In This Topic
    Performs additional custom processes before setting a value in the System.Collections.CollectionBase instance.
    Syntax
    'Declaration
     
    
    Protected Overrides Sub OnSet( _
       ByVal index As Integer, _
       ByVal oldValue As Object, _
       ByVal newValue As Object _
    ) 
    'Usage
     
    
    Dim instance As TimeSpanFieldCollectionInfo
    Dim index As Integer
    Dim oldValue As Object
    Dim newValue As Object
     
    instance.OnSet(index, oldValue, newValue)
    protected override void OnSet( 
       int index,
       object oldValue,
       object newValue
    )

    Parameters

    index
    The zero-based index at which oldValue can be found.
    oldValue
    The value to replace with newValue.
    newValue
    The new value of the element at the specified index.
    See Also