RegexStringValidatorAttribute クラス
アセンブリ: System.Configuration (system.configuration.dll 内)

<AttributeUsageAttribute(AttributeTargets.Property)> _ Public NotInheritable Class RegexStringValidatorAttribute Inherits ConfigurationValidatorAttribute
[AttributeUsageAttribute(AttributeTargets.Property)] public sealed class RegexStringValidatorAttribute : ConfigurationValidatorAttribute
[AttributeUsageAttribute(AttributeTargets::Property)] public ref class RegexStringValidatorAttribute sealed : public ConfigurationValidatorAttribute

RegexStringValidatorAttribute を使用して、.NET Framework が RegexStringValidator を使用してプロパティを検証するように指示する構成プロパティを装飾し、装飾のパラメータの値を渡します。

RegexStringValidatorAttribute オブジェクトを使用して、カスタム ConfigurationSection オブジェクトのプロパティを装飾する方法を、次のコード例に示します。

System.Attribute
System.Configuration.ConfigurationValidatorAttribute
System.Configuration.RegexStringValidatorAttribute


Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


- RegexStringValidatorAttribute クラスのページへのリンク