C# Класс FiftyOne.Foundation.Mobile.Configuration.UrlCollection

A collection of UrlCollection. This class cannot be inherited.
Наследование: System.Configuration.ConfigurationElementCollection
Показать файл Открыть проект

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

Метод Описание
Add ( UrlElement element ) : void

Add element into the collection.

Clear ( ) : void

Removes all configuration elements from the collection.

IndexOf ( UrlElement element ) : int

Gets the index of the specific element inside the collection.

Remove ( UrlElement element ) : void

Removes a UrlElement from the collection.

Remove ( string url ) : void

Removes a System.Configuration.ConfigurationElement from the collection.

RemoveAt ( int index ) : void

Removes a UrlElement at the specified index location.

this ( int index ) : UrlElement

Gets or sets the UrlElement.

this ( string name ) : UrlElement

Gets or sets the UrlElement.

Защищенные методы

Метод Описание
BaseAdd ( ConfigurationElement element ) : void

Add element to the base collection.

CreateNewElement ( ) : ConfigurationElement

Creates a new instance of UrlElement.

GetElementKey ( ConfigurationElement element ) : Object

Gets the element key value.

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

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

Add element into the collection.
thrown if equals null.
public Add ( UrlElement element ) : void
element UrlElement a to add to the collection.
Результат void

BaseAdd() защищенный Метод

Add element to the base collection.
protected BaseAdd ( ConfigurationElement element ) : void
element System.Configuration.ConfigurationElement
Результат void

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

Removes all configuration elements from the collection.
public Clear ( ) : void
Результат void

CreateNewElement() защищенный Метод

Creates a new instance of UrlElement.
protected CreateNewElement ( ) : ConfigurationElement
Результат System.Configuration.ConfigurationElement

GetElementKey() защищенный Метод

Gets the element key value.
protected GetElementKey ( ConfigurationElement element ) : Object
element System.Configuration.ConfigurationElement
Результат Object

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

Gets the index of the specific element inside the collection.
thrown if equals null.
public IndexOf ( UrlElement element ) : int
element UrlElement a to locate in the the collection.
Результат int

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

Removes a UrlElement from the collection.
thrown if equals null.
public Remove ( UrlElement element ) : void
element UrlElement a to remove from the collection.
Результат void

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

Removes a System.Configuration.ConfigurationElement from the collection.
thrown if equals null.
public Remove ( string url ) : void
url string Url of the element in the collection to remove.
Результат void

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

Removes a UrlElement at the specified index location.
Thrown if is less than zero or bigger than the number of indexes on the collections.
public RemoveAt ( int index ) : void
index int Index of the element to remove in the collection.
Результат void

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

Gets or sets the UrlElement.
public this ( int index ) : UrlElement
index int
Результат UrlElement

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

Gets or sets the UrlElement.
public this ( string name ) : UrlElement
name string
Результат UrlElement