Returns the configuration element with the specified key.
Protected Friend Function BaseGet ( _ key As Object _ ) As ConfigurationElement
Dim key As Object Dim returnValue As ConfigurationElement returnValue = Me.BaseGet(key)
protected internal ConfigurationElement BaseGet( Object key )
protected public: ConfigurationElement^ BaseGet( Object^ key )
protected internal function BaseGet( key : Object ) : ConfigurationElement
The BaseGet method returns nullNothingnullptra null reference (Nothing in Visual Basic) if there is no ConfigurationElement object with the specified key in the collection.
The following code example shows how to call the BaseGet method.
Default Public Shadows ReadOnly Property Item( _ ByVal Name As String) As UrlConfigElement Get Return CType(BaseGet(Name), UrlConfigElement) End Get End Property
new public UrlConfigElement this[string Name] { get { return (UrlConfigElement)BaseGet(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