Compartilhar via


RegexValidatorData.Pattern Property

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.

Gets or sets the pattern for the represented validator.

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

Syntax

'Declaration
<ConfigurationPropertyAttribute("pattern")> _
PublicPropertyPatternAs String
[ConfigurationPropertyAttribute("pattern")]
public string Pattern { get; set; }
[ConfigurationPropertyAttribute(L"pattern")]
public:
property String^ Pattern {
    String^ get ();
    voidset (String^ value);
}
publicfunction getPattern () : String
publicfunction setPattern (value : String)

See Also

RegexValidatorData Class

Microsoft.Practices.EnterpriseLibrary.Validation.Configuration Namespace

RegexValidatorPattern()

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.