Udostępnij za pośrednictwem


Interfejs IElementCollection

Reprezentuje kolekcję elementów funkcji.

Przestrzeń nazw:  Microsoft.VisualStudio.SharePoint.Features
Zestaw:  Microsoft.VisualStudio.SharePoint (w Microsoft.VisualStudio.SharePoint.dll)

Składnia

'Deklaracja
Public Interface IElementCollection _
    Inherits IList(Of IElement), ICollection(Of IElement),  _
    IEnumerable(Of IElement), IEnumerable
public interface IElementCollection : IList<IElement>, 
    ICollection<IElement>, IEnumerable<IElement>, IEnumerable

Typ IElementCollection uwidacznia następujące elementy członkowskie.

Właściwości

  Nazwa Opis
Właściwość publiczna Count Pobiera numer elementy zawarte w ICollection. (Odziedziczone z ICollection<IElement>).
Właściwość publiczna IsReadOnly Pobiera wartość wskazującą czy ICollection jest tylko do odczytu. (Odziedziczone z ICollection<IElement>).
Właściwość publiczna Item Pobiera lub ustawia element pod określonym indeksem. (Odziedziczone z IList<IElement>).

Początek

Metody

  Nazwa Opis
Metoda publiczna Add Dodaje element do ICollection. (Odziedziczone z ICollection<IElement>).
Metoda publiczna AddElementFile Dodaje nowy plik element do kolekcji elementów funkcji.
Metoda publiczna AddElementManifest Dodaje nowe manifestu elementu.
Metoda publiczna Clear Usuwa wszystkie elementy z ICollection. (Odziedziczone z ICollection<IElement>).
Metoda publiczna Contains Określa, czy ICollection zawiera określoną wartość. (Odziedziczone z ICollection<IElement>).
Metoda publiczna CopyTo Kopiuje elementy ICollection do Array, już od określonego Array indeksu. (Odziedziczone z ICollection<IElement>).
Metoda publiczna GetEnumerator Returns an enumerator that iterates through the collection. (Odziedziczone z IEnumerable<IElement>).
Metoda publiczna IndexOf Określa indeks określonego elementu w IList. (Odziedziczone z IList<IElement>).
Metoda publiczna Insert Wstawia element do IList pod określonym indeksem. (Odziedziczone z IList<IElement>).
Metoda publiczna Remove Usuwa pierwsze wystąpienie określonego obiektu z ICollection. (Odziedziczone z ICollection<IElement>).
Metoda publiczna RemoveAt Usuwa IList element pod określonym indeksem. (Odziedziczone z IList<IElement>).

Początek

Zobacz też

Informacje

Przestrzeń nazw Microsoft.VisualStudio.SharePoint.Features