C# Класс urlCollection, dasblog

A collection of elements of type url
Наследование: System.Collections.CollectionBase
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Add ( url, value ) : void

Adds an instance of type url to the end of this urlCollection.

AddRange ( url, items ) : void

Adds the elements of an array to the end of this urlCollection.

AddRange ( urlCollection, items ) : void

Adds the elements of another urlCollection to the end of this urlCollection.

Contains ( url, value ) : bool

Determines whether a specfic url value is in this urlCollection.

GetEnumerator ( ) : urlCollection.Enumerator,

Returns an enumerator that can iterate through the elements of this urlCollection.

IndexOf ( url, value ) : int

Return the zero-based index of the first occurrence of a specific value in this urlCollection

Insert ( int index, url, value ) : void

Inserts an element into the urlCollection at the specified index

Remove ( url, value ) : void

Removes the first occurrence of a specific url from this urlCollection.

this ( int index ) : url,

Gets or sets the url at the given index in this urlCollection.

urlCollection ( ) : System

Initializes a new empty instance of the urlCollection class.

urlCollection ( url, items ) : System

Initializes a new instance of the urlCollection class, containing elements copied from an array.

urlCollection ( urlCollection, items ) : System

Initializes a new instance of the urlCollection class, containing elements copied from another instance of urlCollection

Описание методов

Add() публичный Метод

Adds an instance of type url to the end of this urlCollection.
public Add ( url, value ) : void
value url, /// The url to be added to the end of this urlCollection. ///
Результат void

AddRange() публичный Метод

Adds the elements of an array to the end of this urlCollection.
public AddRange ( url, items ) : void
items url, /// The array whose elements are to be added to the end of this urlCollection. ///
Результат void

AddRange() публичный Метод

Adds the elements of another urlCollection to the end of this urlCollection.
public AddRange ( urlCollection, items ) : void
items urlCollection, /// The urlCollection whose elements are to be added to the end of this urlCollection. ///
Результат void

Contains() публичный Метод

Determines whether a specfic url value is in this urlCollection.
public Contains ( url, value ) : bool
value url, /// The url value to locate in this urlCollection. ///
Результат bool

GetEnumerator() публичный Метод

Returns an enumerator that can iterate through the elements of this urlCollection.
public GetEnumerator ( ) : urlCollection.Enumerator,
Результат urlCollection.Enumerator,

IndexOf() публичный Метод

Return the zero-based index of the first occurrence of a specific value in this urlCollection
public IndexOf ( url, value ) : int
value url, /// The url value to locate in the urlCollection. ///
Результат int

Insert() публичный Метод

Inserts an element into the urlCollection at the specified index
public Insert ( int index, url, value ) : void
index int /// The index at which the url is to be inserted. ///
value url, /// The url to insert. ///
Результат void

Remove() публичный Метод

Removes the first occurrence of a specific url from this urlCollection.
public Remove ( url, value ) : void
value url, /// The url value to remove from this urlCollection. ///
Результат void

this() публичный Метод

Gets or sets the url at the given index in this urlCollection.
public this ( int index ) : url,
index int
Результат url,

urlCollection() публичный Метод

Initializes a new empty instance of the urlCollection class.
public urlCollection ( ) : System
Результат System

urlCollection() публичный Метод

Initializes a new instance of the urlCollection class, containing elements copied from an array.
public urlCollection ( url, items ) : System
items url, /// The array whose elements are to be added to the new urlCollection. ///
Результат System

urlCollection() публичный Метод

Initializes a new instance of the urlCollection class, containing elements copied from another instance of urlCollection
public urlCollection ( urlCollection, items ) : System
items urlCollection, /// The urlCollection whose elements are to be added to the new urlCollection. ///
Результат System