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

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

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

Метод Описание
CreateNewElement ( ) : ConfigurationElement

Creates a new LocationElement for the collection

GetElementKey ( ConfigurationElement element ) : object

Get the element key. Check for empty strings and return null to avoid a problem with the defaultvalue property of the key element becoming an empty string and causing a duplicate key exception within .NET.

Приватные методы

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

Adds a new element to the collection.

Clear ( ) : void

Removes all elements from the configuration.

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

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

Creates a new LocationElement for the collection
protected CreateNewElement ( ) : ConfigurationElement
Результат System.Configuration.ConfigurationElement

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

Get the element key. Check for empty strings and return null to avoid a problem with the defaultvalue property of the key element becoming an empty string and causing a duplicate key exception within .NET.
protected GetElementKey ( ConfigurationElement element ) : object
element System.Configuration.ConfigurationElement
Результат object