This documentation is archived and is not being maintained.
ConfigurationElement.ElementInformation Property
Visual Studio 2008
Gets an ElementInformation object that contains the non-customizable information and functionality of the ConfigurationElement object.
Assembly: System.Configuration (in System.Configuration.dll)
'Declaration Public ReadOnly Property ElementInformation As ElementInformation 'Usage Dim instance As ConfigurationElement Dim value As ElementInformation value = instance.ElementInformation
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
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
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: