Stores a set of IPAddress types.
| C# | Visual Basic |
public sealed class IPAddressCollection : ICollection<IPAddress>, IEnumerable<IPAddress>, IEnumerable
Public NotInheritable Class IPAddressCollection _ Implements ICollection(Of IPAddress), IEnumerable(Of IPAddress), _ IEnumerable
| All Members | Methods | Properties | |||
| Icon | Member | Description |
|---|---|---|
| Add(IPAddress) |
Throws a NotSupportedException because this operation is not supported for this collection.
| |
| Clear()()()() |
Throws a NotSupportedException because this operation is not supported for this collection.
| |
| Contains(IPAddress) |
Checks whether the collection contains the specified IPAddress object.
| |
| CopyTo(array<IPAddress>[]()[][], Int32) |
Copies the elements in this collection to a one-dimensional array of type IPAddress.
| |
| Count |
Gets the number of IPAddress types in this collection.
| |
| Equals(Object) | (Inherited from Object.) | |
| Finalize()()()() |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| GetEnumerator()()()() |
Returns an object that can be used to iterate through this collection.
| |
| GetHashCode()()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetType()()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |
| IsReadOnly |
Gets a value that indicates whether access to this collection is read-only.
| |
| Item[([( Int32])]) |
Gets the IPAddress instance at the specified index in the collection.
| |
| MemberwiseClone()()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| Remove(IPAddress) |
Throws a NotSupportedException because this operation is not supported for this collection.
| |
| ToString()()()() | (Inherited from Object.) |
| Object | |
| IPAddressCollection | |