StatusBar.StatusBarPanelCollection.IList.Add(Object) 方法

定義

StatusBarPanel 加入集合。

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

 virtual int System.Collections.IList.Add(System::Object ^ value) = System::Collections::IList::Add;
int IList.Add (object value);
abstract member System.Collections.IList.Add : obj -> int
override this.System.Collections.IList.Add : obj -> int
Function Add (value As Object) As Integer Implements IList.Add

參數

value
Object

StatusBarPanel,表示要加入至集合中的面板。

傳回

Int32

插入新元素的位置,-1 表示該項目未插入到集合中。

實作

例外狀況

value 不是 StatusBarPanel

-或- 值的父代不是 null

適用於