ConfigurationDetails Class

The ConfigurationDetails class is a collections class of ConfigurationDetail objects. The following table defines the properties of the ConfigurationDetails class.

Name

Type

Description

Count

Int

The count of the ConfigurationDetail objects (read only).


Methods of the ConfigurationDetails class.

Signature

Description

public int Add(ConfigurationDetail detail)

Adds a ConfigurationDetail class to the collection, and returns the index at which the ConfigurationDetail object has been added.

public void Remove(ConfigurationDetail detail)

Removes the first occurrence of a specific object from the collection.

public void Clear()

Removes all elements from the collection.

public bool Contains(ConfigurationDetail detail)

Determines whether or not an element is in the collection, and returns true if the item is found, otherwise false.

public ConfigurationDetail Contains(string Name)

Determines whether an element is in the collection, and returns the first ConfigurationDetail item with the Name value that was passed. If nothing is found, returns null.

public ConfigurationDetail this[int index]

Gets or sets the ConfigurationDetail object at the specified index.


Show: