GetElementKey Method
See Also 
SourceCode.Configuration Namespace > BinderCollection Class : GetElementKey Method



element
The System.Configuration.ConfigurationElement to return the key for.

Glossary Item Box

Gets the element key for a specified configuration element when overridden in a derived class.

Syntax

Visual Basic (Declaration) 
Protected Overrides NotOverridable Function GetElementKey( _
   ByVal element As ConfigurationElement _
) As Object
Visual Basic (Usage)Copy Code
Dim instance As BinderCollection
Dim element As ConfigurationElement
Dim value As Object
 
value = instance.GetElementKey(element)
C# 
protected override object GetElementKey( 
   ConfigurationElement element
)
C++/CLI 
protected:
Object^ GetElementKey( 
   ConfigurationElement^ element
) override 

Parameters

element
The System.Configuration.ConfigurationElement to return the key for.

Return Value

An System.Object that acts as the key for the specified System.Configuration.ConfigurationElement.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also