ConfigurationElement.ElementInformation Property
.NET Framework 4
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.
static public ElementInformation GetElementInformation() { // Get the current configuration file. System.Configuration.Configuration config = ConfigurationManager.OpenExeConfiguration( ConfigurationUserLevel.None); // Get the section. UrlsSection section = (UrlsSection)config.GetSection("MyUrls"); // Get the element. UrlConfigElement url = section.Simple; ElementInformation eInfo = url.ElementInformation; return eInfo; }
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.