C# Class urlCollection, dasblog

A collection of elements of type url
Inheritance: System.Collections.CollectionBase
Afficher le fichier Open project: AArnott/dasblog Class Usage Examples

Méthodes publiques

Méthode Description
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

Method Details

Add() public méthode

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. ///
Résultat void

AddRange() public méthode

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. ///
Résultat void

AddRange() public méthode

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. ///
Résultat void

Contains() public méthode

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. ///
Résultat bool

GetEnumerator() public méthode

Returns an enumerator that can iterate through the elements of this urlCollection.
public GetEnumerator ( ) : urlCollection.Enumerator,
Résultat urlCollection.Enumerator,

IndexOf() public méthode

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. ///
Résultat int

Insert() public méthode

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. ///
Résultat void

Remove() public méthode

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. ///
Résultat void

this() public méthode

Gets or sets the url at the given index in this urlCollection.
public this ( int index ) : url,
index int
Résultat url,

urlCollection() public méthode

Initializes a new empty instance of the urlCollection class.
public urlCollection ( ) : System
Résultat System

urlCollection() public méthode

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. ///
Résultat System

urlCollection() public méthode

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. ///
Résultat System