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

'Declaration
<GuidAttribute("72D41A3C-199F-4E5C-8BDC-CD4F8B2CC519")> _
Public Interface ICollection _
    Inherits IEnumerable
[GuidAttribute("72D41A3C-199F-4E5C-8BDC-CD4F8B2CC519")]
public interface ICollection : IEnumerable
[GuidAttribute(L"72D41A3C-199F-4E5C-8BDC-CD4F8B2CC519")]
public interface class ICollection : IEnumerable
[<GuidAttribute("72D41A3C-199F-4E5C-8BDC-CD4F8B2CC519")>]
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 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