Represents a list of DHCP leases allocated to clients

Inheritance Hierarchy

System.ObjectSystem.ObjectSystem::Object
  System.Collections.Generic.List<DHCPLease>System.Collections.Generic.List(Of DHCPLease)System.Collections.Generic::List<DHCPLease^>
    CENTREL.XIA.Network.Management.DHCP.DHCPLeasesCENTREL.XIA.Network.Management.DHCP.DHCPLeasesCENTREL::XIA::Network::Management::DHCP::DHCPLeases

Namespace: CENTREL.XIA.Network.Management.DHCPCENTREL.XIA.Network.Management.DHCPCENTREL::XIA::Network::Management::DHCP
Assembly: CENTREL.XIA.Network.Management.DHCP (in CENTREL.XIA.Network.Management.DHCP.dll)

Syntax

C#

public class DHCPLeasesList<DHCPLease>

VB

Public Class DHCPLeases Inherits List(Of DHCPLease)

C++

public ref class DHCPLeasespublic List<DHCPLease^>

The DHCPLeasesDHCPLeasesDHCPLeases type exposes the following members.

Constructors

Name Description
DHCPLeases()New()DHCPLeases() Initializes a new instance of the DHCPLeasesDHCPLeasesDHCPLeases class.
Top

Properties

Name Description
CapacityCapacityCapacity Gets or sets the total number of elements the internal data structure can hold without resizing. (Inherited from List<DHCPLease>List(Of DHCPLease)List<DHCPLease^>.)
CountCountCount Gets the number of elements actually contained in the List. (Inherited from List<DHCPLease>List(Of DHCPLease)List<DHCPLease^>.)
ItemItemItem Gets or sets the element at the specified index. (Inherited from List<DHCPLease>List(Of DHCPLease)List<DHCPLease^>.)
Top

Methods

Name Description
Add(DHCPLease)Add(DHCPLease)Add(DHCPLease^) Adds an object to the end of the List. (Inherited from List<DHCPLease>List(Of DHCPLease)List<DHCPLease^>.)
AddRange(IEnumerable<DHCPLease>)AddRange(IEnumerable(Of DHCPLease))AddRange(IEnumerable<DHCPLease^>^) Adds the elements of the specified collection to the end of the List. (Inherited from List<DHCPLease>List(Of DHCPLease)List<DHCPLease^>.)
AsReadOnly()AsReadOnly()AsReadOnly() Returns a read-only IList wrapper for the current collection. (Inherited from List<DHCPLease>List(Of DHCPLease)List<DHCPLease^>.)
BinarySearch(DHCPLease)BinarySearch(DHCPLease)BinarySearch(DHCPLease^) Searches the entire sorted List for an element using the default comparer and returns the zero-based index of the element. (Inherited from List<DHCPLease>List(Of DHCPLease)List<DHCPLease^>.)
BinarySearch(DHCPLease, IComparer<DHCPLease>)BinarySearch(DHCPLease, IComparer(Of DHCPLease))BinarySearch(DHCPLease^, IComparer<DHCPLease^>^) Searches the entire sorted List for an element using the specified comparer and returns the zero-based index of the element. (Inherited from List<DHCPLease>List(Of DHCPLease)List<DHCPLease^>.)
BinarySearch(int, int, DHCPLease, IComparer<DHCPLease>)BinarySearch(Integer, Integer, DHCPLease, IComparer(Of DHCPLease))BinarySearch(int, int, DHCPLease^, IComparer<DHCPLease^>^) Searches a range of elements in the sorted List for an element using the specified comparer and returns the zero-based index of the element. (Inherited from List<DHCPLease>List(Of DHCPLease)List<DHCPLease^>.)
Clear()Clear()Clear() Removes all elements from the List. (Inherited from List<DHCPLease>List(Of DHCPLease)List<DHCPLease^>.)
Contains(DHCPLease)Contains(DHCPLease)Contains(DHCPLease^) Determines whether an element is in the List. (Inherited from List<DHCPLease>List(Of DHCPLease)List<DHCPLease^>.)
ConvertAll<TOutput>(Converter<DHCPLease, TOutput>)ConvertAll(Of TOutput)(Converter(Of DHCPLease, TOutput))ConvertAll<TOutput>(Converter<DHCPLease^, TOutput>^) Converts the elements in the current List to another type, and returns a list containing the converted elements. (Inherited from List<DHCPLease>List(Of DHCPLease)List<DHCPLease^>.)
CopyTo(DHCPLease[])CopyTo(DHCPLease())CopyTo(array<DHCPLease^>^) Copies the entire List to a compatible one-dimensional array, starting at the beginning of the target array. (Inherited from List<DHCPLease>List(Of DHCPLease)List<DHCPLease^>.)
CopyTo(DHCPLease[], int)CopyTo(DHCPLease(), Integer)CopyTo(array<DHCPLease^>^, int) Copies the entire List to a compatible one-dimensional array, starting at the specified index of the target array. (Inherited from List<DHCPLease>List(Of DHCPLease)List<DHCPLease^>.)
CopyTo(int, DHCPLease[], int, int)CopyTo(Integer, DHCPLease(), Integer, Integer)CopyTo(int, array<DHCPLease^>^, int, int) Copies a range of elements from the List to a compatible one-dimensional array, starting at the specified index of the target array. (Inherited from List<DHCPLease>List(Of DHCPLease)List<DHCPLease^>.)
Equals(object)Equals(Object)Equals(Object^) Determines whether the specified Object is equal to the current Object. (Inherited from ObjectObjectObject.)
Exists(Predicate<DHCPLease>)Exists(Predicate(Of DHCPLease))Exists(Predicate<DHCPLease^>^) Determines whether the List contains elements that match the conditions defined by the specified predicate. (Inherited from List<DHCPLease>List(Of DHCPLease)List<DHCPLease^>.)
Finalize()Finalize()Finalize() Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from ObjectObjectObject.)
Find(Predicate<DHCPLease>)Find(Predicate(Of DHCPLease))Find(Predicate<DHCPLease^>^) Searches for an element that matches the conditions defined by the specified predicate, and returns the first occurrence within the entire List. (Inherited from List<DHCPLease>List(Of DHCPLease)List<DHCPLease^>.)
FindAll(Predicate<DHCPLease>)FindAll(Predicate(Of DHCPLease))FindAll(Predicate<DHCPLease^>^) Retrieves all the elements that match the conditions defined by the specified predicate. (Inherited from List<DHCPLease>List(Of DHCPLease)List<DHCPLease^>.)
FindIndex(Predicate<DHCPLease>)FindIndex(Predicate(Of DHCPLease))FindIndex(Predicate<DHCPLease^>^) Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the first occurrence within the entire List. (Inherited from List<DHCPLease>List(Of DHCPLease)List<DHCPLease^>.)
FindIndex(int, Predicate<DHCPLease>)FindIndex(Integer, Predicate(Of DHCPLease))FindIndex(int, Predicate<DHCPLease^>^) Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the first occurrence within the range of elements in the List that extends from the specified index to the last element. (Inherited from List<DHCPLease>List(Of DHCPLease)List<DHCPLease^>.)
FindIndex(int, int, Predicate<DHCPLease>)FindIndex(Integer, Integer, Predicate(Of DHCPLease))FindIndex(int, int, Predicate<DHCPLease^>^) Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the first occurrence within the range of elements in the List that starts at the specified index and contains the specified number of elements. (Inherited from List<DHCPLease>List(Of DHCPLease)List<DHCPLease^>.)
FindLast(Predicate<DHCPLease>)FindLast(Predicate(Of DHCPLease))FindLast(Predicate<DHCPLease^>^) Searches for an element that matches the conditions defined by the specified predicate, and returns the last occurrence within the entire List. (Inherited from List<DHCPLease>List(Of DHCPLease)List<DHCPLease^>.)
FindLastIndex(Predicate<DHCPLease>)FindLastIndex(Predicate(Of DHCPLease))FindLastIndex(Predicate<DHCPLease^>^) Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the last occurrence within the entire List. (Inherited from List<DHCPLease>List(Of DHCPLease)List<DHCPLease^>.)
FindLastIndex(int, Predicate<DHCPLease>)FindLastIndex(Integer, Predicate(Of DHCPLease))FindLastIndex(int, Predicate<DHCPLease^>^) Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the last occurrence within the range of elements in the List that extends from the first element to the specified index. (Inherited from List<DHCPLease>List(Of DHCPLease)List<DHCPLease^>.)
FindLastIndex(int, int, Predicate<DHCPLease>)FindLastIndex(Integer, Integer, Predicate(Of DHCPLease))FindLastIndex(int, int, Predicate<DHCPLease^>^) Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the last occurrence within the range of elements in the List that contains the specified number of elements and ends at the specified index. (Inherited from List<DHCPLease>List(Of DHCPLease)List<DHCPLease^>.)
ForEach(Action<DHCPLease>)ForEach(Action(Of DHCPLease))ForEach(Action<DHCPLease^>^) Performs the specified action on each element of the List. (Inherited from List<DHCPLease>List(Of DHCPLease)List<DHCPLease^>.)
GetEnumerator()GetEnumerator()GetEnumerator() Returns an enumerator that iterates through the List. (Inherited from List<DHCPLease>List(Of DHCPLease)List<DHCPLease^>.)
GetHashCode()GetHashCode()GetHashCode() Serves as a hash function for a particular type. (Inherited from ObjectObjectObject.)
GetRange(int, int)GetRange(Integer, Integer)GetRange(int, int) Creates a shallow copy of a range of elements in the source List. (Inherited from List<DHCPLease>List(Of DHCPLease)List<DHCPLease^>.)
GetType()GetType()GetType() Gets the Type of the current instance. (Inherited from ObjectObjectObject.)
IndexOf(DHCPLease)IndexOf(DHCPLease)IndexOf(DHCPLease^) Searches for the specified object and returns the zero-based index of the first occurrence within the entire List. (Inherited from List<DHCPLease>List(Of DHCPLease)List<DHCPLease^>.)
IndexOf(DHCPLease, int)IndexOf(DHCPLease, Integer)IndexOf(DHCPLease^, int) Searches for the specified object and returns the zero-based index of the first occurrence within the range of elements in the List that extends from the specified index to the last element. (Inherited from List<DHCPLease>List(Of DHCPLease)List<DHCPLease^>.)
IndexOf(DHCPLease, int, int)IndexOf(DHCPLease, Integer, Integer)IndexOf(DHCPLease^, int, int) Searches for the specified object and returns the zero-based index of the first occurrence within the range of elements in the List that starts at the specified index and contains the specified number of elements. (Inherited from List<DHCPLease>List(Of DHCPLease)List<DHCPLease^>.)
Insert(int, DHCPLease)Insert(Integer, DHCPLease)Insert(int, DHCPLease^) Inserts an element into the List at the specified index. (Inherited from List<DHCPLease>List(Of DHCPLease)List<DHCPLease^>.)
InsertRange(int, IEnumerable<DHCPLease>)InsertRange(Integer, IEnumerable(Of DHCPLease))InsertRange(int, IEnumerable<DHCPLease^>^) Inserts the elements of a collection into the List at the specified index. (Inherited from List<DHCPLease>List(Of DHCPLease)List<DHCPLease^>.)
LastIndexOf(DHCPLease)LastIndexOf(DHCPLease)LastIndexOf(DHCPLease^) Searches for the specified object and returns the zero-based index of the last occurrence within the entire List. (Inherited from List<DHCPLease>List(Of DHCPLease)List<DHCPLease^>.)
LastIndexOf(DHCPLease, int)LastIndexOf(DHCPLease, Integer)LastIndexOf(DHCPLease^, int) Searches for the specified object and returns the zero-based index of the last occurrence within the range of elements in the List that extends from the first element to the specified index. (Inherited from List<DHCPLease>List(Of DHCPLease)List<DHCPLease^>.)
LastIndexOf(DHCPLease, int, int)LastIndexOf(DHCPLease, Integer, Integer)LastIndexOf(DHCPLease^, int, int) Searches for the specified object and returns the zero-based index of the last occurrence within the range of elements in the List that contains the specified number of elements and ends at the specified index. (Inherited from List<DHCPLease>List(Of DHCPLease)List<DHCPLease^>.)
MemberwiseClone()MemberwiseClone()MemberwiseClone() Creates a shallow copy of the current Object. (Inherited from ObjectObjectObject.)
Remove(DHCPLease)Remove(DHCPLease)Remove(DHCPLease^) Removes the first occurrence of a specific object from the List. (Inherited from List<DHCPLease>List(Of DHCPLease)List<DHCPLease^>.)
RemoveAll(Predicate<DHCPLease>)RemoveAll(Predicate(Of DHCPLease))RemoveAll(Predicate<DHCPLease^>^) Removes the all the elements that match the conditions defined by the specified predicate. (Inherited from List<DHCPLease>List(Of DHCPLease)List<DHCPLease^>.)
RemoveAt(int)RemoveAt(Integer)RemoveAt(int) Removes the element at the specified index of the List. (Inherited from List<DHCPLease>List(Of DHCPLease)List<DHCPLease^>.)
RemoveRange(int, int)RemoveRange(Integer, Integer)RemoveRange(int, int) Removes a range of elements from the List. (Inherited from List<DHCPLease>List(Of DHCPLease)List<DHCPLease^>.)
Reverse()Reverse()Reverse() Reverses the order of the elements in the entire List. (Inherited from List<DHCPLease>List(Of DHCPLease)List<DHCPLease^>.)
Reverse(int, int)Reverse(Integer, Integer)Reverse(int, int) Reverses the order of the elements in the specified range. (Inherited from List<DHCPLease>List(Of DHCPLease)List<DHCPLease^>.)
Sort()Sort()Sort() Sorts the elements in the entire List using the default comparer. (Inherited from List<DHCPLease>List(Of DHCPLease)List<DHCPLease^>.)
Sort(Comparison<DHCPLease>)Sort(Comparison(Of DHCPLease))Sort(Comparison<DHCPLease^>^) Sorts the elements in the entire List using the specified Comparison. (Inherited from List<DHCPLease>List(Of DHCPLease)List<DHCPLease^>.)
Sort(IComparer<DHCPLease>)Sort(IComparer(Of DHCPLease))Sort(IComparer<DHCPLease^>^) Sorts the elements in the entire List using the specified comparer. (Inherited from List<DHCPLease>List(Of DHCPLease)List<DHCPLease^>.)
Sort(int, int, IComparer<DHCPLease>)Sort(Integer, Integer, IComparer(Of DHCPLease))Sort(int, int, IComparer<DHCPLease^>^) Sorts the elements in a range of elements in List using the specified comparer. (Inherited from List<DHCPLease>List(Of DHCPLease)List<DHCPLease^>.)
ToArray()ToArray()ToArray() Copies the elements of the List to a new array. (Inherited from List<DHCPLease>List(Of DHCPLease)List<DHCPLease^>.)
ToString()ToString()ToString() Returns a String that represents the current Object. (Inherited from ObjectObjectObject.)
TrimExcess()TrimExcess()TrimExcess() Sets the capacity to the actual number of elements in the List, if that number is less than a threshold value. (Inherited from List<DHCPLease>List(Of DHCPLease)List<DHCPLease^>.)
TrueForAll(Predicate<DHCPLease>)TrueForAll(Predicate(Of DHCPLease))TrueForAll(Predicate<DHCPLease^>^) Determines whether every element in the List matches the conditions defined by the specified predicate. (Inherited from List<DHCPLease>List(Of DHCPLease)List<DHCPLease^>.)
Top

See Also

CENTREL.XIA.Network.Management.DHCPCENTREL.XIA.Network.Management.DHCPCENTREL::XIA::Network::Management::DHCP Namespace