Gets the element key for a specified configuration element when overridden in a derived class.
Protected MustOverride Function GetElementKey ( _ element As ConfigurationElement _ ) As Object
Dim element As ConfigurationElement Dim returnValue As Object returnValue = Me.GetElementKey(element)
protected abstract Object GetElementKey( ConfigurationElement element )
protected: virtual Object^ GetElementKey( ConfigurationElement^ element ) abstract
protected abstract function GetElementKey( element : ConfigurationElement ) : Object
The following code example shows how to override GetElementKey method.
Protected Overrides Function GetElementKey( _ ByVal element As ConfigurationElement) As [Object] Return CType(element, UrlConfigElement).Name End Function 'GetElementKey
protected override Object GetElementKey(ConfigurationElement element) { return ((UrlConfigElement)element).Name; }
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98