UnicastIPAddressInformationCollection Класс
Определение
Хранит набор типов UnicastIPAddressInformation.Stores a set of UnicastIPAddressInformation types.
public ref class UnicastIPAddressInformationCollection : System::Collections::Generic::ICollection<System::Net::NetworkInformation::UnicastIPAddressInformation ^>, System::Collections::Generic::IEnumerable<System::Net::NetworkInformation::UnicastIPAddressInformation ^>
public class UnicastIPAddressInformationCollection : System.Collections.Generic.ICollection<System.Net.NetworkInformation.UnicastIPAddressInformation>, System.Collections.Generic.IEnumerable<System.Net.NetworkInformation.UnicastIPAddressInformation>
type UnicastIPAddressInformationCollection = class
interface ICollection<UnicastIPAddressInformation>
interface seq<UnicastIPAddressInformation>
interface IEnumerable
Public Class UnicastIPAddressInformationCollection
Implements ICollection(Of UnicastIPAddressInformation), IEnumerable(Of UnicastIPAddressInformation)
- Наследование
-
UnicastIPAddressInformationCollection
- Реализации
Конструкторы
UnicastIPAddressInformationCollection() |
Инициализирует новый экземпляр класса UnicastIPAddressInformationCollection.Initializes a new instance of the UnicastIPAddressInformationCollection class. |
Свойства
Count |
Возвращает число типов UnicastIPAddressInformation в данной коллекции.Gets the number of UnicastIPAddressInformation types in this collection. |
IsReadOnly |
Возвращает значение, показывающее, доступна ли данная коллекция только для чтения.Gets a value that indicates whether access to this collection is read-only. |
Item[Int32] |
Возвращает экземпляр UnicastIPAddressInformation, содержащийся в коллекции по указанному индексу.Gets the UnicastIPAddressInformation instance at the specified index in the collection. |
Методы
Add(UnicastIPAddressInformation) |
Генерирует исключение NotSupportedException, поскольку данная операция не поддерживается для этой коллекции.Throws a NotSupportedException because this operation is not supported for this collection. |
Clear() |
Генерирует исключение NotSupportedException, поскольку данная операция не поддерживается для этой коллекции.Throws a NotSupportedException because this operation is not supported for this collection. |
Contains(UnicastIPAddressInformation) |
Проверяет, содержит ли коллекция указанный объект UnicastIPAddressInformation.Checks whether the collection contains the specified UnicastIPAddressInformation object. |
CopyTo(UnicastIPAddressInformation[], Int32) |
Копирует элементы данной коллекции в одномерный массив типа UnicastIPAddressInformation.Copies the elements in this collection to a one-dimensional array of type UnicastIPAddressInformation. |
Equals(Object) |
Определяет, равен ли указанный объект текущему объекту.Determines whether the specified object is equal to the current object. (Унаследовано от Object) |
GetEnumerator() |
Возвращает объект, который может использоваться для выполнения итерации элементов данной коллекции.Returns an object that can be used to iterate through this collection. |
GetHashCode() |
Служит в качестве хэш-функции по умолчанию.Serves as the default hash function. (Унаследовано от Object) |
GetType() |
Возвращает объект Type для текущего экземпляра.Gets the Type of the current instance. (Унаследовано от Object) |
MemberwiseClone() |
Создает неполную копию текущего объекта Object.Creates a shallow copy of the current Object. (Унаследовано от Object) |
Remove(UnicastIPAddressInformation) |
Генерирует исключение NotSupportedException, потому что коллекция доступна только для чтения и из нее нельзя удалять элементы.Throws a NotSupportedException because the collection is read-only and elements cannot be removed. |
ToString() |
Возвращает строку, представляющую текущий объект.Returns a string that represents the current object. (Унаследовано от Object) |
Явные реализации интерфейса
IEnumerable.GetEnumerator() |
Возвращает объект, который может использоваться для выполнения итерации элементов данной коллекции.Returns an object that can be used to iterate through this collection. |
Методы расширения
CopyToDataTable<T>(IEnumerable<T>) |
Возвращает объект DataTable, содержащий копии объектов DataRow при заданном входном объекте IEnumerable<T> и универсальном параметре |
CopyToDataTable<T>(IEnumerable<T>, DataTable, LoadOption) |
Копирует объекты DataRow в указанный объект DataTable с заданным входным объектом IEnumerable<T>, где универсальный параметр |
CopyToDataTable<T>(IEnumerable<T>, DataTable, LoadOption, FillErrorEventHandler) |
Копирует объекты DataRow в указанный объект DataTable с заданным входным объектом IEnumerable<T>, где универсальный параметр |
Cast<TResult>(IEnumerable) |
Приводит элементы объекта IEnumerable к заданному типу.Casts the elements of an IEnumerable to the specified type. |
OfType<TResult>(IEnumerable) |
Выполняет фильтрацию элементов объекта IEnumerable по заданному типу.Filters the elements of an IEnumerable based on a specified type. |
AsParallel(IEnumerable) |
Позволяет осуществлять параллельный запрос.Enables parallelization of a query. |
AsQueryable(IEnumerable) |
Преобразовывает коллекцию IEnumerable в объект IQueryable.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. В коллекцию включаются только элементы, соответствующие XName.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. В коллекцию включаются только элементы, соответствующие XName.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. В коллекцию включаются только элементы, соответствующие XName.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. |