ConfigurationElement Class
Represents a configuration element within a configuration file.
Assembly: System.Configuration (in System.Configuration.dll)
System.Configuration.ConfigurationElement
System.Configuration.ConfigurationElementCollection
System.Configuration.ConfigurationSection
System.Configuration.ConnectionStringSettings
System.Configuration.IdnElement
System.Configuration.IriParsingElement
System.Configuration.KeyValueConfigurationElement
System.Configuration.NameValueConfigurationElement
System.Configuration.ProtectedProviderSettings
System.Configuration.ProviderSettings
System.Configuration.SchemeSettingElement
System.Configuration.SettingElement
System.Configuration.SettingValueElement
System.Data.Services.Configuration.DataServicesReplaceFunctionFeature
System.IdentityModel.Configuration.AudienceUriElement
System.IdentityModel.Configuration.ConfigurationElementInterceptor
System.IdentityModel.Configuration.IdentityConfigurationElement
System.IdentityModel.Configuration.IdentityModelCachesElement
System.IdentityModel.Configuration.SecurityTokenHandlerConfigurationElement
System.IdentityModel.Configuration.TokenReplayDetectionElement
System.IdentityModel.Configuration.X509CertificateValidationElement
System.IdentityModel.Services.ChunkedCookieHandlerElement
System.IdentityModel.Services.Configuration.FederationConfigurationElement
System.IdentityModel.Services.Configuration.WSFederationElement
System.IdentityModel.Services.CookieHandlerElement
System.IdentityModel.Services.ServiceCertificateElement
System.Net.Configuration.AuthenticationModuleElement
System.Net.Configuration.BypassElement
System.Net.Configuration.ConnectionManagementElement
System.Net.Configuration.FtpCachePolicyElement
System.Net.Configuration.HttpCachePolicyElement
System.Net.Configuration.HttpListenerElement
System.Net.Configuration.HttpListenerTimeoutsElement
System.Net.Configuration.HttpWebRequestElement
System.Net.Configuration.Ipv6Element
System.Net.Configuration.ModuleElement
System.Net.Configuration.PerformanceCountersElement
System.Net.Configuration.ProxyElement
System.Net.Configuration.ServicePointManagerElement
System.Net.Configuration.SmtpNetworkElement
System.Net.Configuration.SmtpSpecifiedPickupDirectoryElement
System.Net.Configuration.SocketElement
System.Net.Configuration.WebProxyScriptElement
System.Net.Configuration.WebRequestModuleElement
System.Net.Configuration.WebUtilityElement
System.Runtime.Caching.Configuration.MemoryCacheElement
System.Runtime.Serialization.Configuration.DeclaredTypeElement
System.Runtime.Serialization.Configuration.ParameterElement
System.Runtime.Serialization.Configuration.TypeElement
System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement
System.Security.Authentication.ExtendedProtection.Configuration.ServiceNameElement
System.ServiceModel.Activation.Configuration.SecurityIdentifierElement
System.ServiceModel.Activities.Configuration.ChannelSettingsElement
System.ServiceModel.Activities.Configuration.FactorySettingsElement
System.ServiceModel.Activities.Tracking.Configuration.TrackingConfigurationElement
System.ServiceModel.Configuration.AllowedAudienceUriElement
System.ServiceModel.Configuration.AuthorizationPolicyTypeElement
System.ServiceModel.Configuration.BaseAddressElement
System.ServiceModel.Configuration.BaseAddressPrefixFilterElement
System.ServiceModel.Configuration.BindingCollectionElement
System.ServiceModel.Configuration.CertificateElement
System.ServiceModel.Configuration.CertificateReferenceElement
System.ServiceModel.Configuration.ChannelEndpointElement
System.ServiceModel.Configuration.ClaimTypeElement
System.ServiceModel.Configuration.ComContractElement
System.ServiceModel.Configuration.ComMethodElement
System.ServiceModel.Configuration.ComPersistableTypeElement
System.ServiceModel.Configuration.ComUdtElement
System.ServiceModel.Configuration.DefaultPortElement
System.ServiceModel.Configuration.DelegatingHandlerElement
System.ServiceModel.Configuration.DnsElement
System.ServiceModel.Configuration.EndpointCollectionElement
System.ServiceModel.Configuration.EndToEndTracingElement
System.ServiceModel.Configuration.ExtensionElement
System.ServiceModel.Configuration.HostElement
System.ServiceModel.Configuration.HostTimeoutsElement
System.ServiceModel.Configuration.HttpDigestClientElement
System.ServiceModel.Configuration.HttpMessageHandlerFactoryElement
System.ServiceModel.Configuration.IdentityElement
System.ServiceModel.Configuration.IssuedTokenClientBehaviorsElement
System.ServiceModel.Configuration.IssuedTokenClientElement
System.ServiceModel.Configuration.IssuedTokenServiceElement
System.ServiceModel.Configuration.MessageLoggingElement
System.ServiceModel.Configuration.MetadataElement
System.ServiceModel.Configuration.PeerCredentialElement
System.ServiceModel.Configuration.PolicyImporterElement
System.ServiceModel.Configuration.ProtocolMappingElement
System.ServiceModel.Configuration.RsaElement
System.ServiceModel.Configuration.SecureConversationServiceElement
System.ServiceModel.Configuration.ServiceActivationElement
System.ServiceModel.Configuration.ServiceElement
System.ServiceModel.Configuration.ServiceEndpointElement
System.ServiceModel.Configuration.ServiceModelConfigurationElement
System.ServiceModel.Configuration.ServiceModelExtensionCollectionElement(Of TServiceModelExtensionElement)
System.ServiceModel.Configuration.ServicePrincipalNameElement
System.ServiceModel.Configuration.StandardEndpointElement
System.ServiceModel.Configuration.TransportConfigurationTypeElement
System.ServiceModel.Configuration.UserNameServiceElement
System.ServiceModel.Configuration.UserPrincipalNameElement
System.ServiceModel.Configuration.WindowsClientElement
System.ServiceModel.Configuration.WindowsServiceElement
System.ServiceModel.Configuration.WsdlImporterElement
System.ServiceModel.Configuration.X509CertificateTrustedIssuerElement
System.ServiceModel.Configuration.X509ClientCertificateAuthenticationElement
System.ServiceModel.Configuration.X509ClientCertificateCredentialsElement
System.ServiceModel.Configuration.X509DefaultServiceCertificateElement
System.ServiceModel.Configuration.X509InitiatorCertificateClientElement
System.ServiceModel.Configuration.X509InitiatorCertificateServiceElement
System.ServiceModel.Configuration.X509PeerCertificateAuthenticationElement
System.ServiceModel.Configuration.X509PeerCertificateElement
System.ServiceModel.Configuration.X509RecipientCertificateClientElement
System.ServiceModel.Configuration.X509RecipientCertificateServiceElement
System.ServiceModel.Configuration.X509ScopedServiceCertificateElement
System.ServiceModel.Configuration.X509ServiceCertificateAuthenticationElement
System.ServiceModel.Configuration.XmlElementElement
System.ServiceModel.Configuration.XPathMessageFilterElement
System.ServiceModel.Discovery.Configuration.ContractTypeNameElement
System.ServiceModel.Discovery.Configuration.DiscoveryClientSettingsElement
System.ServiceModel.Discovery.Configuration.FindCriteriaElement
System.ServiceModel.Discovery.Configuration.ScopeElement
System.ServiceModel.Discovery.Configuration.UdpTransportSettingsElement
System.ServiceModel.Routing.Configuration.BackupEndpointElement
System.ServiceModel.Routing.Configuration.FilterElement
System.ServiceModel.Routing.Configuration.FilterTableEntryElement
System.ServiceModel.Routing.Configuration.NamespaceElement
System.Web.Configuration.AssemblyInfo
System.Web.Configuration.AuthorizationRule
System.Web.Configuration.BufferModeSettings
System.Web.Configuration.BuildProvider
System.Web.Configuration.ClientTarget
System.Web.Configuration.CodeSubDirectory
System.Web.Configuration.Compiler
System.Web.Configuration.Converter
System.Web.Configuration.CustomError
System.Web.Configuration.EventMappingSettings
System.Web.Configuration.ExpressionBuilder
System.Web.Configuration.FolderLevelBuildProvider
System.Web.Configuration.FormsAuthenticationConfiguration
System.Web.Configuration.FormsAuthenticationCredentials
System.Web.Configuration.FormsAuthenticationUser
System.Web.Configuration.FullTrustAssembly
System.Web.Configuration.HttpHandlerAction
System.Web.Configuration.HttpModuleAction
System.Web.Configuration.IgnoreDeviceFilterElement
System.Web.Configuration.NamespaceInfo
System.Web.Configuration.OutputCacheProfile
System.Web.Configuration.PartialTrustVisibleAssembly
System.Web.Configuration.PassportAuthentication
System.Web.Configuration.ProfileGroupSettings
System.Web.Configuration.ProfilePropertySettings
System.Web.Configuration.ProfileSettings
System.Web.Configuration.ProtocolElement
System.Web.Configuration.RuleSettings
System.Web.Configuration.SqlCacheDependencyDatabase
System.Web.Configuration.TagMapInfo
System.Web.Configuration.TagPrefixInfo
System.Web.Configuration.TransformerInfo
System.Web.Configuration.TrustLevel
System.Web.Configuration.UrlMapping
System.Web.Configuration.WebPartsPersonalization
System.Web.Configuration.WebPartsPersonalizationAuthorization
System.Web.Mobile.DeviceFilterElement
System.Web.Services.Configuration.DiagnosticsElement
System.Web.Services.Configuration.ProtocolElement
System.Web.Services.Configuration.SoapEnvelopeProcessingElement
System.Web.Services.Configuration.SoapExtensionTypeElement
System.Web.Services.Configuration.TypeElement
System.Web.Services.Configuration.WsdlHelpGeneratorElement
System.Web.Services.Configuration.WsiProfilesElement
System.Web.UI.MobileControls.ControlElement
System.Web.UI.MobileControls.DeviceElement
System.Workflow.Runtime.Configuration.WorkflowRuntimeServiceElement
System.Xml.Serialization.Configuration.SchemaImporterExtensionElement
| Name | Description | |
|---|---|---|
![]() | ConfigurationElement() | Initializes a new instance of the ConfigurationElement class. |
| Name | Description | |
|---|---|---|
![]() | CurrentConfiguration | Gets a reference to the top-level Configuration instance that represents the configuration hierarchy that the current ConfigurationElement instance belongs to. |
![]() | ElementInformation | Gets an ElementInformation object that contains the non-customizable information and functionality of the ConfigurationElement object. |
![]() | ElementProperty | Gets the ConfigurationElementProperty object that represents the ConfigurationElement object itself. |
![]() | EvaluationContext | Gets the ContextInformation object for the ConfigurationElement object. |
![]() | HasContext | |
![]() | Item(ConfigurationProperty) | Gets or sets a property or attribute of this configuration element. |
![]() | Item(String) | Gets or sets a property, attribute, or child element of this configuration element. |
![]() | LockAllAttributesExcept | Gets the collection of locked attributes. |
![]() | LockAllElementsExcept | Gets the collection of locked elements. |
![]() | LockAttributes | Gets the collection of locked attributes |
![]() | LockElements | Gets the collection of locked elements. |
![]() | LockItem | Gets or sets a value indicating whether the element is locked. |
![]() | Properties | Gets the collection of properties. |
| Name | Description | |
|---|---|---|
![]() | DeserializeElement(XmlReader, Boolean) | Reads XML from the configuration file. |
![]() | Equals(Object) | Compares the current ConfigurationElement instance to the specified object.(Overrides Object.Equals(Object).) |
![]() | Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.) |
![]() | GetHashCode() | Gets a unique value representing the current ConfigurationElement instance.(Overrides Object.GetHashCode().) |
![]() | GetTransformedAssemblyString(String) | Returns the transformed version of the specified assembly name. |
![]() | GetTransformedTypeString(String) | Returns the transformed version of the specified type name. |
![]() | GetType() | |
![]() | Init() | Sets the ConfigurationElement object to its initial state. |
![]() | InitializeDefault() | Used to initialize a default set of values for the ConfigurationElement object. |
![]() | IsModified() | Indicates whether this configuration element has been modified since it was last saved or loaded, when implemented in a derived class. |
![]() | IsReadOnly() | Gets a value indicating whether the ConfigurationElement object is read-only. |
![]() | ListErrors(IList) | Adds the invalid-property errors in this ConfigurationElement object, and in all subelements, to the passed list. |
![]() | MemberwiseClone() | |
![]() | OnDeserializeUnrecognizedAttribute(String, String) | Gets a value indicating whether an unknown attribute is encountered during deserialization. |
![]() | OnDeserializeUnrecognizedElement(String, XmlReader) | Gets a value indicating whether an unknown element is encountered during deserialization. |
![]() | OnRequiredPropertyNotFound(String) | Throws an exception when a required property is not found. |
![]() | PostDeserialize() | Called after deserialization. |
![]() | PreSerialize(XmlWriter) | Called before serialization. |
![]() | Reset(ConfigurationElement) | Resets the internal state of the ConfigurationElement object, including the locks and the properties collections. |
![]() | ResetModified() | Resets the value of the IsModified method to false when implemented in a derived class. |
![]() | SerializeElement(XmlWriter, Boolean) | Writes the contents of this configuration element to the configuration file when implemented in a derived class. |
![]() | SerializeToXmlElement(XmlWriter, String) | Writes the outer tags of this configuration element to the configuration file when implemented in a derived class. |
![]() | SetPropertyValue(ConfigurationProperty, Object, Boolean) | Sets a property to the specified value. |
![]() | SetReadOnly() | Sets the IsReadOnly property for the ConfigurationElement object and all subelements. |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
![]() | Unmerge(ConfigurationElement, ConfigurationElement, ConfigurationSaveMode) | Modifies the ConfigurationElement object to remove all values that should not be saved. |
The ConfigurationElement is an abstract class that is used to represent an XML element in a configuration file (such as Web.config). An element in a configuration file can contain zero, one, or more child elements.
Because the ConfigurationElement class is defined as abstract, you cannot create an instance of it. You can only derive classes from it. The .NET Framework includes classes that derive from the ConfigurationElement class in order to represent standard XML configuration elements, such as ConfigurationSection. You can also extend the ConfigurationElement class to access custom configuration elements and sections. The example included later in this topic shows how to access custom configuration elements and sections by using custom classes that derive from ConfigurationElement.
You can also extend the standard configuration types such as ConfigurationElement, ConfigurationElementCollection, ConfigurationProperty, and ConfigurationSection. For more information, see the documentation for those classes.
For more information about how to access information in configuration files, see the ConfigurationManager class and the WebConfigurationManager class.
Notes to Inheritors:
Every ConfigurationElement object creates an internal ConfigurationPropertyCollection collection of ConfigurationProperty objects that represents either the element attributes or a collection of child elements.
Non-customizable information and functionality is contained by an ElementInformation object provided by the ElementInformation property.
You can use either a programmatic or a declarative (attributed) coding model to create a custom configuration element:
The programmatic model requires that for each element attribute, you create a property to get or set its value and add it to the internal property bag of the underlying ConfigurationElement base class. For an example of how to use this model, see the ConfigurationSection class.
The simpler declarative model, also called the attributed model, allows you to define an element attribute by using a property and then decorate it with attributes. These attributes instruct the ASP.NET configuration system about the property types and their default values. With this information, obtained through reflection, the ASP.NET configuration system creates the element property objects for you and performs the required initialization. The example shown later in this topic shows how to use this model.
The following code example shows how to implement a custom ConfigurationElement both as an individual element in a custom section and as a collection of elements in a custom section. The example consists of the following files:
An app.config file that contains a custom section that is named MyUrls. This section contains a simple element (it does not contain any other elements) and a collection of elements. The simple element is named simple and the collection is named urls.
A console application. The application reads the contents of the app.config file and writes the information to the console. It uses classes that derive from ConfigurationElement, ConfigurationElementCollection, and ConfigurationSection.
A class named UrlsSection that derives from the ConfigurationSection class. This class is used to access the MyUrls section in the configuration file.
A class named UrlsCollection that derives from the ConfigurationElementCollection class. This class is used to access the urls collection in the configuration file.
A class named UrlConfigElement that derives from the ConfigurationElement class. This class is used to access the simple element and the members of the urls collection in the configuration file.
To run the example, perform the following steps:
Create a solution that has a console application project and a class library project that is named ConfigurationElement.
Put the three class files in the class library project and put the other files in the console library project.
In both projects set a reference to System.Configuration.
In the console application project set a project reference to the class library project.
' Set Assembly name to ConfigurationElement ' and set Root namespace to Samples.AspNet Imports System Imports System.Configuration Imports System.Collections Class TestConfigurationElement ' Entry point for console application that reads the ' app.config file and writes to the console the ' URLs in the custom section. Shared Sub Main(ByVal args() As String) ' Get the current configuration file. Dim config As System.Configuration.Configuration = _ ConfigurationManager.OpenExeConfiguration( _ ConfigurationUserLevel.None) ' Get the MyUrls section. Dim myUrlsSection As UrlsSection = _ config.GetSection("MyUrls") If myUrlsSection Is Nothing Then Console.WriteLine("Failed to load UrlsSection.") Else Console.WriteLine("The 'simple' element of app.config:") Console.WriteLine(" Name={0} URL={1} Port={2}", _ myUrlsSection.Simple.Name, _ myUrlsSection.Simple.Url, _ myUrlsSection.Simple.Port) Console.WriteLine("The urls collection of app.config:") Dim i As Integer For i = 0 To myUrlsSection.Urls.Count - 1 Console.WriteLine(" Name={0} URL={1} Port={2}", _ i, myUrlsSection.Urls(i).Name, _ myUrlsSection.Urls(i).Url, _ myUrlsSection.Urls(i).Port) Next i End If Console.ReadLine() End Sub End Class
Imports System Imports System.Configuration Imports System.Collections ' Define a custom section containing an individual ' element and a collection of elements. Public Class UrlsSection Inherits ConfigurationSection <ConfigurationProperty("name", _ DefaultValue:="MyFavorites", _ IsRequired:=True, _ IsKey:=False), _ StringValidator( _ InvalidCharacters:=" ~!@#$%^&*()[]{}/;'""|\", _ MinLength:=1, MaxLength:=60)> _ Public Property Name() As String Get Return CStr(Me("name")) End Get Set(ByVal value As String) Me("name") = value End Set End Property ' Declare an element (not in a collection) of the type ' UrlConfigElement. In the configuration ' file it corresponds to <simple .... />. <ConfigurationProperty("simple")> _ Public ReadOnly Property Simple() _ As UrlConfigElement Get Dim url As UrlConfigElement = _ CType(Me("simple"), _ UrlConfigElement) Return url End Get End Property ' Declare a collection element represented ' in the configuration file by the sub-section ' <urls> <add .../> </urls> ' Note: the "IsDefaultCollection = false" ' instructs the .NET Framework to build a nested ' section like <urls> ...</urls>. <ConfigurationProperty("urls", _ IsDefaultCollection:=False)> _ Public ReadOnly Property Urls() _ As UrlsCollection Get Dim urlsCollection _ As UrlsCollection = _ CType(Me("urls"), UrlsCollection) Return urlsCollection End Get End Property Protected Overrides Sub DeserializeSection( _ ByVal reader As System.Xml.XmlReader) MyBase.DeserializeSection(reader) ' Enter your custom processing code here. End Sub 'DeserializeSection Protected Overrides Function SerializeSection( _ ByVal parentElement As ConfigurationElement, _ ByVal name As String, _ ByVal saveMode As ConfigurationSaveMode) As String Dim s As String = _ MyBase.SerializeSection(parentElement, _ name, saveMode) ' Enter your custom processing code here. Return s End Function 'SerializeSection End Class 'UrlsSection
Imports System Imports System.Configuration Imports System.Collections Public Class UrlsCollection Inherits ConfigurationElementCollection Public Sub New() ' Add one url to the collection. This is ' not necessary; could leave the collection ' empty until items are added to it outside ' the constructor. Dim url As UrlConfigElement = _ CType(CreateNewElement(), UrlConfigElement) ' Add the element to the collection. Add(url) End Sub 'NewNew Public Overrides ReadOnly Property CollectionType() _ As ConfigurationElementCollectionType Get Return ConfigurationElementCollectionType.AddRemoveClearMap End Get End Property Protected Overloads Overrides Function CreateNewElement() _ As ConfigurationElement Return New UrlConfigElement() End Function 'CreateNewElement Protected Overloads Overrides Function CreateNewElement( _ ByVal elementName As String) _ As ConfigurationElement Return New UrlConfigElement(elementName) End Function 'CreateNewElement Protected Overrides Function GetElementKey( _ ByVal element As ConfigurationElement) As [Object] Return CType(element, UrlConfigElement).Name End Function 'GetElementKey Public Shadows Property AddElementName() As String Get Return MyBase.AddElementName End Get Set(ByVal value As String) MyBase.AddElementName = value End Set End Property Public Shadows Property ClearElementName() As String Get Return MyBase.ClearElementName End Get Set(ByVal value As String) MyBase.ClearElementName = value End Set End Property Public Shadows ReadOnly Property RemoveElementName() As String Get Return MyBase.RemoveElementName End Get End Property Public Shadows ReadOnly Property Count() As Integer Get Return MyBase.Count End Get End Property Default Public Shadows Property Item( _ ByVal index As Integer) As UrlConfigElement Get Return CType(BaseGet(index), UrlConfigElement) End Get Set(ByVal value As UrlConfigElement) If Not (BaseGet(index) Is Nothing) Then BaseRemoveAt(index) End If BaseAdd(index, value) End Set End Property Default Public Shadows ReadOnly Property Item( _ ByVal Name As String) As UrlConfigElement Get Return CType(BaseGet(Name), UrlConfigElement) End Get End Property Public Function IndexOf( _ ByVal url As UrlConfigElement) As Integer Return BaseIndexOf(url) End Function 'IndexOf Public Sub Add(ByVal url As UrlConfigElement) BaseAdd(url) ' Add custom code here. End Sub 'Add Protected Overrides Sub BaseAdd( _ ByVal element As ConfigurationElement) BaseAdd(element, False) ' Add custom code here. End Sub 'BaseAdd Public Overloads Sub Remove( _ ByVal url As UrlConfigElement) If BaseIndexOf(url) >= 0 Then BaseRemove(url.Name) End If End Sub 'Remove Public Sub RemoveAt(ByVal index As Integer) BaseRemoveAt(index) End Sub 'RemoveAt Public Overloads Sub Remove(ByVal name As String) BaseRemove(name) End Sub 'Remove Public Sub Clear() BaseClear() End Sub 'Clear ' End Class 'UrlsCollection
Imports System Imports System.Configuration Imports System.Collections Public Class UrlConfigElement Inherits ConfigurationElement ' Constructor allowing name, url, and port to be specified. Public Sub New(ByVal newName As String, _ ByVal newUrl As String, _ ByVal newPort As Integer) Name = newName Url = newUrl Port = newPort End Sub 'NewNew ' Default constructor, will use default values as defined Public Sub New() End Sub 'NewNew ' Constructor allowing name to be specified, will take the ' default values for url and port. Public Sub New(ByVal elementName As String) Name = elementName End Sub 'NewNew <ConfigurationProperty("name", _ DefaultValue:="Microsoft", _ IsRequired:=True, _ IsKey:=True)> _ Public Property Name() As String Get Return CStr(Me("name")) End Get Set(ByVal value As String) Me("name") = value End Set End Property <ConfigurationProperty("url", _ DefaultValue:="http://www.microsoft.com", _ IsRequired:=True), _ RegexStringValidator("\w+:\/\/[\w.]+\S*")> _ Public Property Url() As String Get Return CStr(Me("url")) End Get Set(ByVal value As String) Me("url") = value End Set End Property <ConfigurationProperty("port", _ DefaultValue:=0, _ IsRequired:=False), _ IntegerValidator(MinValue:=0, _ MaxValue:=8080, ExcludeRange:=False)> _ Public Property Port() As Integer Get Return Fix(Me("port")) End Get Set(ByVal value As Integer) Me("port") = value End Set End Property Protected Overrides Sub DeserializeElement(ByVal reader _ As System.Xml.XmlReader, _ ByVal serializeCollectionKey As Boolean) MyBase.DeserializeElement(reader, _ serializeCollectionKey) ' Enter your custom processing code here. End Sub 'DeserializeElement Protected Overrides Function SerializeElement(ByVal writer _ As System.Xml.XmlWriter, _ ByVal serializeCollectionKey As Boolean) As Boolean Dim ret As Boolean = _ MyBase.SerializeElement(writer, serializeCollectionKey) ' Enter your custom processing code here. Return ret End Function 'SerializeElement Protected Overrides Function IsModified() As Boolean Dim ret As Boolean = MyBase.IsModified() ' Enter your custom processing code here. Return ret End Function 'IsModified End Class 'UrlConfigElement
Available since 2.0
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
.jpeg?cs-save-lang=1&cs-lang=vb)
.jpeg?cs-save-lang=1&cs-lang=vb)
.jpeg?cs-save-lang=1&cs-lang=vb)
.jpeg?cs-save-lang=1&cs-lang=vb)