RegisterElementCollection.GetElementKey Method
Gets the element key for a specified configuration element when overridden in a derived class.
Namespace: Microsoft.Practices.Unity.Configuration
Assembly: Microsoft.Practices.Unity.Configuration (in Microsoft.Practices.Unity.Configuration.dll)
Syntax
'Declaration
Protected Overrides Function GetElementKey ( _
element As ConfigurationElement _
) As Object
protected override Object GetElementKey(
ConfigurationElement element
)
protected:
virtual Object^ GetElementKey(
ConfigurationElement^ element
) override
protected override function GetElementKey(
element : ConfigurationElement
) : Object
Parameters
- element
Type: System.Configuration.ConfigurationElement
The ConfigurationElement to return the key for.
Return Value
An Object that acts as the key for the specified ConfigurationElement.