GlobalObjectCollection.IList.Add(Object) Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Koleksiyona bir nesne ekler.
virtual int System.Collections.IList.Add(System::Object ^ item) = System::Collections::IList::Add;
virtual int System.Collections.IList.Add(Platform::Object ^ item) = System::Collections::IList::Add;
int System.Collections.IList.Add(winrt::Windows::Foundation::IInspectable const & item);
int IList.Add (object item);
abstract member System.Collections.IList.Add : obj -> int
override this.System.Collections.IList.Add : obj -> int
Function Add (item As Object) As Integer Implements IList.Add
Parametreler
- item
- Object
Eklenecek nesne.
Döndürülenler
S_OK Yöntem başarılı olduysa, aksi takdirde bir hata kodu.