Udostępnij za pośrednictwem


ValidRegexAttribute Class

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Specifies a property or event will be validated on whether it is a valid regular expression.

Namespace:  Microsoft.Practices.EnterpriseLibrary.Validation.Configuration.Design.ValidatorNodes
Assembly:  Microsoft.Practices.EnterpriseLibrary.Validation.Configuration.Design (in Microsoft.Practices.EnterpriseLibrary.Validation.Configuration.Design.dll)

Syntax

'Declaration
PublicClassValidRegexAttribute _
    Inherits ValidationAttribute
publicclassValidRegexAttribute : ValidationAttribute
publicref classValidRegexAttribute : public ValidationAttribute
publicclass ValidRegexAttribute extends ValidationAttribute

Inheritance Hierarchy

System.Object
  System.Attribute
    Microsoft.Practices.EnterpriseLibrary.Configuration.Design.Validation.ValidationAttribute
      Microsoft.Practices.EnterpriseLibrary.Validation.Configuration.Design.ValidatorNodes.ValidRegexAttribute

See Also

ValidRegexAttribute Members

Microsoft.Practices.EnterpriseLibrary.Validation.Configuration.Design.ValidatorNodes Namespace

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.