Share via


PrincipalValueCollection<T>.IList.Add(Object) Yöntem

Tanım

Belirtilen nesneyi koleksiyonun sonuna ekler.

 virtual int System.Collections.IList.Add(System::Object ^ value) = System::Collections::IList::Add;
int IList.Add (object value);
[System.Security.SecurityCritical]
int IList.Add (object value);
abstract member System.Collections.IList.Add : obj -> int
override this.System.Collections.IList.Add : obj -> int
[<System.Security.SecurityCritical>]
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

Parametreler

value
Object

Koleksiyona eklenecek nesne.

Döndürülenler

Yeni öğenin eklendiği konum veya öğenin koleksiyona eklenmediğini belirtmek için -1.

Uygulamalar

Öznitelikler

Açıklamalar

Bu üye, açık bir arabirim üyesi uygulamasıdır. Yalnızca örnek bir IList arabirime PrincipalValueCollection<T> yayınlandığında kullanılabilir.

Şunlara uygulanır