GetElementKeyInternal() private method

private GetElementKeyInternal ( ConfigurationElement element ) : Object
element ConfigurationElement
return Object
 internal Object GetKey(ConfigurationElementCollection ThisCollection)
 {
     // For items that have been really inserted...
     if (_value != null)
     {
         return ThisCollection.GetElementKeyInternal(_value);
     }
     else
     {
         return _key; // These are items that only have been removed
     }
 }
 internal object GetKey(ConfigurationElementCollection ThisCollection)
 {
     if (this._value != null)
     {
         return ThisCollection.GetElementKeyInternal(this._value);
     }
     return this._key;
 }
 internal object GetKey(ConfigurationElementCollection thisCollection)
 {
     // For items that have been really inserted...
     return Value != null ? thisCollection.GetElementKeyInternal(Value) : _key;
 }