ExtensionElementCollection.GetElementKey(ConfigurationElement) Method

Definition

Gets the element key for the specified configuration element.

protected:
 override System::Object ^ GetElementKey(System::Configuration::ConfigurationElement ^ element);
protected override object GetElementKey (System.Configuration.ConfigurationElement element);
override this.GetElementKey : System.Configuration.ConfigurationElement -> obj
Protected Overrides Function GetElementKey (element As ConfigurationElement) As Object

Parameters

element
ConfigurationElement

The ConfigurationElement to return the key for.

Returns

An Object that acts as the key for the specified configuration element.

Exceptions

element is null or empty.

Applies to