Compartilhar via


RegexValidatorData.Options 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 regex options for the represented validator.

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

Syntax

'Declaration
<ConfigurationPropertyAttribute("options")> _
PublicPropertyOptionsAs RegexOptions
[ConfigurationPropertyAttribute("options")]
public RegexOptions Options { get; set; }
[ConfigurationPropertyAttribute(L"options")]
public:
property RegexOptions Options {
    RegexOptions get ();
    voidset (RegexOptions value);
}
publicfunction getOptions () : RegexOptions
publicfunction setOptions (value : RegexOptions)

See Also

RegexValidatorData Class

Microsoft.Practices.EnterpriseLibrary.Validation.Configuration Namespace

System.Text.RegularExpressions.RegexOptions

RegexValidatorOptions()

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.