CheckedListBox.CheckedItemCollection.IList.Add(Object) 方法

定義

如需這個成員的說明,請參閱 Add(Object)For a description of this member, see Add(Object).

 virtual int System.Collections.IList.Add(System::Object ^ value) = System::Collections::IList::Add;
int IList.Add (object value);
Function Add (value As Object) As Integer Implements IList.Add

參數

value
Object

要加入至 ObjectIListThe Object to add to the IList.

傳回

要加入之項目的以零起始的索引。The zero-based index of the item to add.

實作

備註

這個成員是明確介面成員實作,This member is an explicit interface member implementation. 只有在 CheckedListBox.CheckedItemCollection 執行個體轉換成 IList 介面時,才能使用這個成員。It can be used only when the CheckedListBox.CheckedItemCollection instance is cast to an IList interface.

適用於