Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.Drawing Namespace / IControlFormat Interface / List Method / List(Int32,String) Method
The index number of a single text entry.
The single text entry to set. null value will be omitted.


In This Topic
    List(Int32,String) Method
    In This Topic
    Gets or sets the single text entry in the specified list box or combo box.
    Syntax
    'Declaration
     
    
    Overloads Function List( _
       ByVal index As Integer, _
       Optional ByVal entry As String _
    ) As String
    'Usage
     
    
    Dim instance As IControlFormat
    Dim index As Integer
    Dim entry As String
    Dim value As String
     
    value = instance.List(index, entry)

    Parameters

    index
    The index number of a single text entry.
    entry
    The single text entry to set. null value will be omitted.

    Return Value

    The single text entry at the specified index.
    Remarks
    Setting this property clears any range specified by the ListFillRange property.
    See Also