ControlFormat.List[Object] Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns or sets the text entries in the specified list box or a combo box, as an array of strings, or returns or sets a single text entry. An error occurs if there are no entries in the list.
public:
property System::Object ^ List[System::Object ^] { System::Object ^ get(System::Object ^ Index); };
public object List[object Index] { get; }
Public ReadOnly Property List(Optional Index As Object) As Object
Parameters
- Index
- Object
Optional Object. The index number of a single text entry to be set or returned. If this argument is omitted, the entire list is returned or set as an array of strings.
Property Value
Remarks
Setting this property clears any range specified by the ListFillRange property.