12 private bool _ReadOnly;
21 object obj = _Indices[name];
22 if (obj ==
null || !(obj is
int))
27 if (num >= _Values.
Count)
64 int num = _Values.
Add(property);
67 _Indices.
Add(property.
Name, num);
85 object obj = _Indices[name];
86 if (obj !=
null && obj is
int)
89 if (num < _Values.
Count)
96 if ((
int)index.Value > num)
98 arrayList.Add(index.Key);
101 foreach (
string item
in arrayList)
103 _Indices[item] = (int)_Indices[item] - 1;
145 _Values.
CopyTo(array, index);
virtual void Add(object key, object value)
Adds an element with the specified key and value into the T:System.Collections.Hashtable.
object SyncRoot
Gets the object to synchronize access to the collection.
bool IsSynchronized
Gets a value that indicates whether access to the collection is synchronized (thread safe).
virtual void RemoveAt(int index)
Removes the element at the specified index of the T:System.Collections.ArrayList.
virtual int Count
Gets the number of elements actually contained in the T:System.Collections.ArrayList.
int Count
Gets a value that specifies the number of T:System.Configuration.SettingsPropertyValue objects in the...
virtual object Clone()
Creates a shallow copy of the T:System.Collections.Hashtable.
object Clone()
Creates a copy of the existing collection.
Contains a collection of settings property values that map T:System.Configuration....
virtual void Clear()
Removes all elements from the T:System.Collections.ArrayList.
virtual object Clone()
Creates a shallow copy of the T:System.Collections.ArrayList.
void Clear()
Removes all T:System.Configuration.SettingsPropertyValue objects from the collection.
void CopyTo(Array array, int index)
Copies this T:System.Configuration.SettingsPropertyValueCollection collection to an array.
Exposes an enumerator, which supports a simple iteration over a non-generic collection....
Represents a collection of key/value pairs that are organized based on the hash code of the key....
void Remove(string name)
Removes a T:System.Configuration.SettingsPropertyValue object from the collection.
Supports cloning, which creates a new instance of a class with the same value as an existing instance...
void Add(SettingsPropertyValue property)
Adds a T:System.Configuration.SettingsPropertyValue object to the collection.
Provides methods for creating, manipulating, searching, and sorting arrays, thereby serving as the ba...
virtual void CopyTo(Array array)
Copies the entire T:System.Collections.ArrayList to a compatible one-dimensional T:System....
Contains the value of a settings property that can be loaded and stored by an instance of T:System....
virtual int Add(object value)
Adds an object to the end of the T:System.Collections.ArrayList.
IEnumerator GetEnumerator()
Gets the T:System.Collections.IEnumerator object as it applies to the collection.
Represents errors that occur during application execution.To browse the .NET Framework source code fo...
virtual void Remove(object key)
Removes the element with the specified key from the T:System.Collections.Hashtable.
virtual IEnumerator GetEnumerator()
Returns an enumerator for the entire T:System.Collections.ArrayList.
static StringComparer CurrentCultureIgnoreCase
Gets a T:System.StringComparer object that performs case-insensitive string comparisons using the wor...
string Name
Gets the name of the property from the associated T:System.Configuration.SettingsProperty object.
virtual void Clear()
Removes all elements from the T:System.Collections.Hashtable.
The exception that is thrown when an invoked method is not supported, or when there is an attempt to ...
Defines size, enumerators, and synchronization methods for all nongeneric collections.
Defines a dictionary key/value pair that can be set or retrieved.
static IList ReadOnly(IList list)
Returns a read-only T:System.Collections.IList wrapper.
Supports a simple iteration over a non-generic collection.
Represents a string comparison operation that uses specific case and culture-based or ordinal compari...
SettingsPropertyValueCollection()
Initializes a new instance of the T:System.Configuration.SettingsPropertyValueCollection class.
Implements the T:System.Collections.IList interface using an array whose size is dynamically increase...
void SetReadOnly()
Sets the collection to be read-only.