Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

SectionInformation Members

Contains metadata about an individual section within the configuration hierarchy. This class cannot be inherited.

The SectionInformation type exposes the following members.

  NameDescription
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method ForceDeclaration Overloaded. Forces the associated configuration section to appear in the configuration file.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetParentSection Gets the configuration section that contains the configuration section associated with this object.
Public method GetRawXml Infrastructure. Returns an XML node object that represents the associated configuration-section object.
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ProtectSection Marks a configuration section for protection.
Public method RevertToParent Causes the associated configuration section to inherit all its values from the parent section.
Public method SetRawXml Infrastructure. Sets the object to an XML representation of the associated configuration section within the configuration file.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method UnprotectSection Removes the protected configuration encryption from the associated configuration section.
Top

  NameDescription
Public property AllowDefinition Gets or sets a value that indicates where in the configuration file hierarchy the associated configuration section can be defined.
Public property AllowExeDefinition Gets or sets a value that indicates where in the configuration file hierarchy the associated configuration section can be declared.
Public property AllowLocation Gets or sets a value that indicates whether the configuration section allows the location attribute.
Public property AllowOverride Gets or sets a value that indicates whether the associated configuration section can be overridden by lower-level configuration files.
Public property ConfigSource Gets or sets the name of the include file in which the associated configuration section is defined, if such a file exists.
Public property ForceSave Gets or sets a value that indicates whether the associated configuration section will be saved even if it has not been modified.
Public property InheritInChildApplications Gets or sets a value that indicates whether the settings that are specified in the associated configuration section are inherited by applications that reside in a subdirectory of the relevant application.
Public property IsDeclarationRequired Gets a value that indicates whether the configuration section must be declared in the configuration file.
Public property IsDeclared Gets a value that indicates whether the associated configuration section is declared in the configuration file.
Public property IsLocked Gets a value that indicates whether the associated configuration section is locked.
Public property IsProtected Gets a value that indicates whether the associated configuration section is protected.
Public property Name Gets the name of the associated configuration section.
Public property OverrideMode Gets or sets the OverrideMode enumeration value that specifies whether the associated configuration section can be overridden by child configuration files.
Public property OverrideModeDefault Gets or sets a value that specifies the default override behavior of a configuration section by child configuration files.
Public property OverrideModeEffective Gets the override behavior of a configuration section that is in turn based on whether child configuration files can lock the configuration section.
Public property ProtectionProvider Gets the protected configuration provider for the associated configuration section.
Public property RequirePermission Gets a value that indicates whether the associated configuration section requires access permissions.
Public property RestartOnExternalChanges Gets or sets a value that specifies whether a change in an external configuration include file requires an application restart.
Public property SectionName Gets the name of the associated configuration section.
Public property Type Gets or sets the section class name.
Top

Community Additions

ADD
Show:
© 2015 Microsoft