RuleSettings.Name Property
.NET Framework (current version)
Gets or sets the name of the RuleSettings object.
Assembly: System.Web (in System.Web.dll)
[ConfigurationPropertyAttribute("name", IsRequired = true, IsKey = true, DefaultValue = "")] [StringValidatorAttribute(MinLength = 1)] public string Name { get; set; }
Property Value
Type: System.StringThe name of the RuleSettings object. The default value is an empty string ("").
A unique name is required.
The following code example shows how to use the Name property. This code example is part of a larger example provided for the HealthMonitoringSection class.
.NET Framework
Available since 2.0
Available since 2.0
Show: