Export (0) Print
Expand All

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
Public property AllowDefinition Gets or sets a value indicating where in the configuration file hierarchy the associated configuration section can be defined.
Public property AllowExeDefinition Gets or sets a value indicating where in the configuration file hierarchy the associated configuration section may be declared.
Public property AllowLocation Gets or sets a value indicating whether the configuration section allows the location attribute.
Public property AllowOverride Gets or sets a value indicating 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 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.
Public property IsDeclarationRequired Gets a value indicating whether the associated configuration section must be declared in the configuration file.
Public property IsDeclared Gets a value indicating whether the associated configuration section is declared in the configuration file.
Public property IsLocked Gets a value indicating whether the associated configuration section is locked.
Public property IsProtected Gets a value indicating whether the associated configuration section is protected.
Public property Name Gets the name of the associated configuration section.
Public property ProtectionProvider Gets the protected configuration provider for the associated configuration section.
Public property RequirePermission Gets a value indicating 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

(see also Protected Methods )
  Name Description
Public method Equals  Overloaded. Determines whether two Object instances are equal. (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. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.)
Public method GetParentSection Gets the configuration section that contains the configuration section associated with this object.
Public method GetRawXml Returns an XML node object representing the associated configuration-section object.
Public method GetType  Gets the Type of the current instance. (Inherited from Object.)
Public method ProtectSection Marks a configuration section for protection.
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (Inherited from Object.)
Public method RevertToParent Causes the associated configuration section to inherit all its values from its parent section.
Public method SetRawXml 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

  Name Description
Protected method 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.)
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (Inherited from Object.)
Top

Community Additions

ADD
Show:
© 2014 Microsoft