GatewayIPAddressInformationCollection Class

Definition

Stores a set of GatewayIPAddressInformation types.

public ref class GatewayIPAddressInformationCollection : System::Collections::Generic::ICollection<System::Net::NetworkInformation::GatewayIPAddressInformation ^>, System::Collections::Generic::IEnumerable<System::Net::NetworkInformation::GatewayIPAddressInformation ^>
public class GatewayIPAddressInformationCollection : System.Collections.Generic.ICollection<System.Net.NetworkInformation.GatewayIPAddressInformation>, System.Collections.Generic.IEnumerable<System.Net.NetworkInformation.GatewayIPAddressInformation>
type GatewayIPAddressInformationCollection = class
    interface ICollection<GatewayIPAddressInformation>
    interface seq<GatewayIPAddressInformation>
    interface IEnumerable
Public Class GatewayIPAddressInformationCollection
Implements ICollection(Of GatewayIPAddressInformation), IEnumerable(Of GatewayIPAddressInformation)
Inheritance
GatewayIPAddressInformationCollection
Implements

Constructors

GatewayIPAddressInformationCollection()

Initializes a new instance of the GatewayIPAddressInformationCollection class.

Properties

Count

Gets the number of GatewayIPAddressInformation types in this collection.

IsReadOnly

Gets a value that indicates whether access to this collection is read-only.

Item[Int32]

Gets the GatewayIPAddressInformation at the specific index of the collection.

Methods

Add(GatewayIPAddressInformation)

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(GatewayIPAddressInformation)

Checks whether the collection contains the specified GatewayIPAddressInformation object.

CopyTo(GatewayIPAddressInformation[], Int32)

Copies the elements in this collection to a one-dimensional array of type GatewayIPAddressInformation.

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetEnumerator()

Returns an object that can be used to iterate through this collection.

GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
Remove(GatewayIPAddressInformation)

Throws a NotSupportedException because this operation is not supported for this collection.

ToString()

Returns a string that represents the current object.

(Inherited from Object)

Explicit Interface Implementations

IEnumerable.GetEnumerator()

Returns an object that can be used to iterate through this collection.

Extension Methods

CopyToDataTable<T>(IEnumerable<T>)

Returns a DataTable that contains copies of the DataRow objects, given an input IEnumerable<T> object where the generic parameter T is DataRow.

CopyToDataTable<T>(IEnumerable<T>, DataTable, LoadOption)

Copies DataRow objects to the specified DataTable, given an input IEnumerable<T> object where the generic parameter T is DataRow.

CopyToDataTable<T>(IEnumerable<T>, DataTable, LoadOption, FillErrorEventHandler)

Copies DataRow objects to the specified DataTable, given an input IEnumerable<T> object where the generic parameter T is DataRow.

Cast<TResult>(IEnumerable)

Casts the elements of an IEnumerable to the specified type.

OfType<TResult>(IEnumerable)

Filters the elements of an IEnumerable based on a specified type.

AsParallel(IEnumerable)

Enables parallelization of a query.

AsQueryable(IEnumerable)

Converts an IEnumerable to an IQueryable.

Ancestors<T>(IEnumerable<T>)

Returns a collection of elements that contains the ancestors of every node in the source collection.

Ancestors<T>(IEnumerable<T>, XName)

Returns a filtered collection of elements that contains the ancestors of every node in the source collection. Only elements that have a matching XName are included in the collection.

DescendantNodes<T>(IEnumerable<T>)

Returns a collection of the descendant nodes of every document and element in the source collection.

Descendants<T>(IEnumerable<T>)

Returns a collection of elements that contains the descendant elements of every element and document in the source collection.

Descendants<T>(IEnumerable<T>, XName)

Returns a filtered collection of elements that contains the descendant elements of every element and document in the source collection. Only elements that have a matching XName are included in the collection.

Elements<T>(IEnumerable<T>)

Returns a collection of the child elements of every element and document in the source collection.

Elements<T>(IEnumerable<T>, XName)

Returns a filtered collection of the child elements of every element and document in the source collection. Only elements that have a matching XName are included in the collection.

InDocumentOrder<T>(IEnumerable<T>)

Returns a collection of nodes that contains all nodes in the source collection, sorted in document order.

Nodes<T>(IEnumerable<T>)

Returns a collection of the child nodes of every document and element in the source collection.

Remove<T>(IEnumerable<T>)

Removes every node in the source collection from its parent node.

Applies to