RegexValidatorNode.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 regular expression used for validation.
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
<RequiredAttribute> _
<ValidRegexAttribute> _
<EditorAttribute(GetType(RegexTypeEditor), GetType(UITypeEditor))> _
PublicPropertyPatternAs String
[RequiredAttribute]
[ValidRegexAttribute]
[EditorAttribute(typeof(RegexTypeEditor), typeof(UITypeEditor))]
public string Pattern { get; set; }
[RequiredAttribute]
[ValidRegexAttribute]
[EditorAttribute(typeof(RegexTypeEditor), typeof(UITypeEditor))]
public:
property String^ Pattern {
String^ get ();
voidset (String^ value);
}
publicfunction getPattern () : String
publicfunction setPattern (value : String)
See Also
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. |