Spread Windows Forms 16
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / IntervalArray<T> Class / FillIfEmpty Method
The start index of range.
The length of range.
The value to fill.

In This Topic
    FillIfEmpty Method
    In This Topic
    Fills a range of array with a specified value. Only empty element will be filled.
    Public Function FillIfEmpty( _
       ByVal index As Integer, _
       ByVal length As Integer, _
       ByVal value As T _
    ) As Integer
    Dim instance As IntervalArray(Of T)
    Dim index As Integer
    Dim length As Integer
    Dim value As T
    Dim value As Integer
    value = instance.FillIfEmpty(index, length, value)
    public int FillIfEmpty( 
       int index,
       int length,
       T value


    The start index of range.
    The length of range.
    The value to fill.

    Return Value

    An System.Int32 value represents the total numbers of element has been filled.
    See Also