SectionInformation Members
Contains meta-information on an individual section within the configuration. This class cannot be inherited.
The following tables list the members exposed by the SectionInformation type.
| Name | Description | |
|---|---|---|
| AllowDefinition | Gets or sets a value indicating where in the configuration file hierarchy the associated configuration section can be defined. |
| AllowExeDefinition | Gets or sets a value indicating where in the configuration file hierarchy the associated configuration section may be declared. |
| AllowLocation | Gets or sets a value indicating whether the configuration section allows the location attribute. |
| AllowOverride | Gets or sets a value indicating whether the associated configuration section can be overridden by lower-level configuration files. |
| ConfigSource | Gets or sets the name of the include file in which the associated configuration section is defined, if such a file exists. |
| ForceSave | Gets or sets a value that indicates whether the associated configuration section will be saved even if it has not been modified. |
| InheritInChildApplications | Gets or sets a value indicating whether the settings specified in the associated configuration section are inherited by applications that reside in a subdirectory of the application to which the associated configuration section applies. |
| IsDeclarationRequired | Gets a value indicating whether the associated configuration section must be declared in the configuration file. |
| IsDeclared | Gets a value indicating whether the associated configuration section is declared in the configuration file. |
| IsLocked | Gets a value indicating whether the associated configuration section is locked. |
| IsProtected | Gets a value indicating whether the associated configuration section is protected. |
| Name | Gets the name of the associated configuration section. |
| ProtectionProvider | Gets the protected configuration provider for the associated configuration section. |
| RequirePermission | Gets a value indicating whether the associated configuration section requires access permissions. |
| RestartOnExternalChanges | Gets or sets a value that specifies whether a change in an external configuration include file requires an application restart. |
| SectionName | Gets the name of the associated configuration section. |
| Type | Gets or sets the section class name. |
(see also
Protected Methods
)
Top
| Name | Description | |
|---|---|---|
| Equals | Overloaded. Determines whether two Object instances are equal. (Inherited from Object.) |
| ForceDeclaration | Overloaded. Forces the associated configuration section to appear in the configuration file. |
| GetHashCode | Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) |
| GetParentSection | Gets the configuration section that contains the configuration section associated with this object. |
| GetRawXml | Returns an XML node object representing the associated configuration-section object. |
| GetType | Gets the Type of the current instance. (Inherited from Object.) |
| ProtectSection | Marks a configuration section for protection. |
| ReferenceEquals | Determines whether the specified Object instances are the same instance. (Inherited from Object.) |
| RevertToParent | Causes the associated configuration section to inherit all its values from its parent section. |
| SetRawXml | Sets the object to an XML representation of the associated configuration section within the configuration file. |
| ToString | Returns a String that represents the current Object. (Inherited from Object.) |
| UnprotectSection | Removes the protected configuration encryption from the associated configuration section. |
| Name | Description | |
|---|---|---|
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |