MembershipPasswordAttribute.MinNonAlphanumericCharactersError Property

.NET Framework (current version)

The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets or sets the MinNonAlphanumericCharactersError attribute.

Namespace:   System.Web.Security
Assembly:  System.Web (in System.Web.dll)

public string MinNonAlphanumericCharactersError { get; set; }

Property Value

Type: System.String

The MinNonAlphanumericCharactersError attribute.

The MinNonAlphanumericCharactersError property contains either the literal, non-localized string or the resource key that you can use with the ResourceType property to configure the localized error message. The error message is displayed when the provided password contains fewer non-alphanumeric characters than specified by the MinRequiredNonAlphanumericCharacters property.

.NET Framework
Available since 4.5
Return to top