Compartir a través de


ICollection Interface

Defines size, enumerators, and synchronization methods for all collections.

Namespace:  Microsoft.VisualStudio.VsWizard
Assembly:  Microsoft.VisualStudio.VsWizard (in Microsoft.VisualStudio.VsWizard.dll)

Syntax

'Declaración
<GuidAttribute("410272D6-EA37-452D-ACCB-CCCBA593E6FE")> _
Public Interface ICollection _
    Inherits IEnumerable
[GuidAttribute("410272D6-EA37-452D-ACCB-CCCBA593E6FE")]
public interface ICollection : IEnumerable
[GuidAttribute(L"410272D6-EA37-452D-ACCB-CCCBA593E6FE")]
public interface class ICollection : IEnumerable
[<GuidAttribute("410272D6-EA37-452D-ACCB-CCCBA593E6FE")>]
type ICollection =  
    interface
        interface IEnumerable
    end
public interface ICollection extends IEnumerable

The ICollection type exposes the following members.

Properties

  Name Description
Public property Count When implemented by a class, gets the number of elements contained in the ICollection.

Top

Methods

  Name Description
Public method AddAt Adds an item to a collection at a position.
Public method AddItem Adds an item to a collection.
Public method GetEnumerator() Returns an enumerator that iterates through a collection. (Inherited from IEnumerable.)
Public method GetEnumerator() Gets a list of items in a collection.
Public method item Gets an item from a collection.

Top

See Also

Reference

Microsoft.VisualStudio.VsWizard Namespace