ConfigurationElement.ElementInformation Property
.NET Framework (current version)
Gets an ElementInformation object that contains the non-customizable information and functionality of the ConfigurationElement object.
Assembly: System.Configuration (in System.Configuration.dll)
Property Value
Type: System.Configuration.ElementInformationAn ElementInformation that contains the non-customizable information and functionality of the ConfigurationElement.
The following example shows how to use the ElementInformation property.
Public Shared Function GetElementInformation() _ As ElementInformation ' Get the current configuration file. Dim config _ As System.Configuration.Configuration = _ ConfigurationManager.OpenExeConfiguration( _ ConfigurationUserLevel.None) ' Get the section. Dim section As UrlsSection = CType( _ config.GetSection("MyUrls"), UrlsSection) ' Get the element. Dim url As UrlConfigElement = _ section.Simple Dim eInfo As ElementInformation = _ url.ElementInformation Return eInfo End Function 'GetElementInformation
.NET Framework
Available since 2.0
Available since 2.0
Show: