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("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 | |
---|---|---|
Count | When implemented by a class, gets the number of elements contained in the ICollection. |
Top
Methods
Name | Description | |
---|---|---|
AddAt | Adds an item to a collection at a position. | |
AddItem | Adds an item to a collection. | |
GetEnumerator() | Returns an enumerator that iterates through a collection. (Inherited from IEnumerable.) | |
GetEnumerator() | Gets a list of items in a collection. | |
item | Gets an item from a collection. |
Top