TemplateGroupCollection.IList.Add(Object) TemplateGroupCollection.IList.Add(Object) TemplateGroupCollection.IList.Add(Object) Method

定義

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

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

參數

o
Object Object Object

要加入至集合的 TemplateGroupThe TemplateGroup to add to the collection.

傳回

索引中 o 已經加入至集合中。The index at which o was added to the collection.

實作

備註

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

適用於

另請參閱