Partager via


RequirePermissionProperty Class

A custom property model that allows a ConfigurationSection's RequirePermission property to be modified.

Namespace:  Microsoft.Practices.EnterpriseLibrary.Configuration.Design.ViewModel
Assembly:  Microsoft.Practices.EnterpriseLibrary.Configuration.DesignTime (in Microsoft.Practices.EnterpriseLibrary.Configuration.DesignTime.dll)

Syntax

'Declaration
Public Class RequirePermissionProperty _
    Inherits CustomProperty(Of Boolean) _
    Implements IEnvironmentalOverridesProperty
public class RequirePermissionProperty : CustomProperty<bool>, 
    IEnvironmentalOverridesProperty
public ref class RequirePermissionProperty : public CustomProperty<bool>, 
    IEnvironmentalOverridesProperty
public class RequirePermissionProperty extends CustomProperty<boolean> implements IEnvironmentalOverridesProperty

Remarks

Becuase this value is not stored as part of the ConfigurationSection, the SectionViewModel is responsible for storing the value of this property when it saved the ConfigurationSection instance.

This property can be overridden using a Configuration Environment and implements IEnvironmentalOverridesProperty.

Inheritance Hierarchy

System.Object
  Microsoft.Practices.EnterpriseLibrary.Configuration.Design.ViewModel.ViewModel
    Microsoft.Practices.EnterpriseLibrary.Configuration.Design.ViewModel.Property
      Microsoft.Practices.EnterpriseLibrary.Configuration.Design.ViewModel.CustomProperty<Boolean>
        Microsoft.Practices.EnterpriseLibrary.Configuration.Design.ViewModel.RequirePermissionProperty

See Also

RequirePermissionProperty Members

Microsoft.Practices.EnterpriseLibrary.Configuration.Design.ViewModel Namespace