ValidationPropertyAttribute クラス
アセンブリ: System.Web (system.web.dll 内)

<AttributeUsageAttribute(AttributeTargets.Class)> _ Public NotInheritable Class ValidationPropertyAttribute Inherits Attribute
[AttributeUsageAttribute(AttributeTargets.Class)] public sealed class ValidationPropertyAttribute : Attribute
[AttributeUsageAttribute(AttributeTargets::Class)] public ref class ValidationPropertyAttribute sealed : public Attribute


カスタム コントロールの作成時に ValidationPropertyAttribute クラスを使用するコード例を次に示します。
<ValidationPropertyAttribute("Message")> Public Class MessageControl Inherits Label Private _message As Integer = 0 Public Property Message() As Integer Get Return _message End Get Set(ByVal Value As Integer) _message = Value End Set End Property End Class
[ValidationPropertyAttribute("Message")] public class MessageControl : Label { private int _message = 0; public int Message { get { return _message; } set { _message = value; } } }
/** @attribute ValidationPropertyAttribute("Message") */ public class MessageControl extends Label { private int _message = 0; /** @property */ public int get_Message() { return _message; } //get_Message /** @property */ public void set_Message(int value) { _message = value; } //set_Message } //MessageControl


System.Attribute
System.Web.UI.ValidationPropertyAttribute


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


ValidationPropertyAttribute コンストラクタ
アセンブリ: System.Web (system.web.dll 内)


カスタム コントロールの作成時に ValidationPropertyAttribute クラスを使用するコード例を次に示します。
<ValidationPropertyAttribute("Message")> Public Class MessageControl Inherits Label Private _message As Integer = 0 Public Property Message() As Integer Get Return _message End Get Set(ByVal Value As Integer) _message = Value End Set End Property End Class
[ValidationPropertyAttribute("Message")] public class MessageControl : Label { private int _message = 0; public int Message { get { return _message; } set { _message = value; } } }
/** @attribute ValidationPropertyAttribute("Message") */ public class MessageControl extends Label { private int _message = 0; /** @property */ public int get_Message() { return _message; } //get_Message /** @property */ public void set_Message(int value) { _message = value; } //set_Message } //MessageControl

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


ValidationPropertyAttribute プロパティ

名前 | 説明 | |
---|---|---|
![]() | Name | ASP.NET サーバー コントロールの検証プロパティの名前を取得します。 |
![]() | TypeId | 派生クラスに実装されている場合は、この Attribute の一意の識別子を取得します。 ( Attribute から継承されます。) |

ValidationPropertyAttribute メソッド

名前 | 説明 | |
---|---|---|
![]() | Equals | オーバーロードされます。 ( Attribute から継承されます。) |
![]() | GetCustomAttribute | オーバーロードされます。 アセンブリ、モジュール、型のメンバ、またはメソッド パラメータに適用された指定した型のカスタム属性を取得します。 ( Attribute から継承されます。) |
![]() | GetCustomAttributes | オーバーロードされます。 アセンブリ、モジュール、型のメンバ、またはメソッド パラメータに適用されたカスタム属性の配列を取得します。 ( Attribute から継承されます。) |
![]() | GetHashCode | このインスタンスのハッシュ コードを返します。 ( Attribute から継承されます。) |
![]() | GetType | 現在のインスタンスの Type を取得します。 ( Object から継承されます。) |
![]() | IsDefaultAttribute | 派生クラス内でオーバーライドされたときに、このインスタンスの値が派生クラスの既定値かどうかを示します。 ( Attribute から継承されます。) |
![]() | IsDefined | オーバーロードされます。 指定した型のカスタム属性が、アセンブリ、モジュール、型のメンバ、またはメソッド パラメータに適用されているかどうかを判断します。 ( Attribute から継承されます。) |
![]() | Match | 派生クラス内でオーバーライドされたときに、指定したオブジェクトとこのインスタンスが等しいかどうかを示す値を返します。 ( Attribute から継承されます。) |
![]() | ReferenceEquals | 指定した複数の Object インスタンスが同一かどうかを判断します。 ( Object から継承されます。) |
![]() | ToString | 現在の Object を表す String を返します。 ( Object から継承されます。) |

名前 | 説明 | |
---|---|---|
![]() | Finalize | Object がガベージ コレクションにより収集される前に、その Object がリソースを解放し、その他のクリーンアップ操作を実行できるようにします。 ( Object から継承されます。) |
![]() | MemberwiseClone | 現在の Object の簡易コピーを作成します。 ( Object から継承されます。) |

ValidationPropertyAttribute メンバ
ASP.NET サーバー コントロールが検証プロパティの識別のために使用するメタデータ属性を定義します。このクラスは継承できません。
ValidationPropertyAttribute データ型で公開されるメンバを以下の表に示します。


名前 | 説明 | |
---|---|---|
![]() | Name | ASP.NET サーバー コントロールの検証プロパティの名前を取得します。 |
![]() | TypeId | 派生クラスに実装されている場合は、この Attribute の一意の識別子を取得します。(Attribute から継承されます。) |

名前 | 説明 | |
---|---|---|
![]() | Equals | オーバーロードされます。 ( Attribute から継承されます。) |
![]() | GetCustomAttribute | オーバーロードされます。 アセンブリ、モジュール、型のメンバ、またはメソッド パラメータに適用された指定した型のカスタム属性を取得します。 (Attribute から継承されます。) |
![]() | GetCustomAttributes | オーバーロードされます。 アセンブリ、モジュール、型のメンバ、またはメソッド パラメータに適用されたカスタム属性の配列を取得します。 (Attribute から継承されます。) |
![]() | GetHashCode | このインスタンスのハッシュ コードを返します。 (Attribute から継承されます。) |
![]() | GetType | 現在のインスタンスの Type を取得します。 (Object から継承されます。) |
![]() | IsDefaultAttribute | 派生クラス内でオーバーライドされたときに、このインスタンスの値が派生クラスの既定値かどうかを示します。 (Attribute から継承されます。) |
![]() | IsDefined | オーバーロードされます。 指定した型のカスタム属性が、アセンブリ、モジュール、型のメンバ、またはメソッド パラメータに適用されているかどうかを判断します。 (Attribute から継承されます。) |
![]() | Match | 派生クラス内でオーバーライドされたときに、指定したオブジェクトとこのインスタンスが等しいかどうかを示す値を返します。 (Attribute から継承されます。) |
![]() | ReferenceEquals | 指定した複数の Object インスタンスが同一かどうかを判断します。 (Object から継承されます。) |
![]() | ToString | 現在の Object を表す String を返します。 (Object から継承されます。) |

名前 | 説明 | |
---|---|---|
![]() | Finalize | Object がガベージ コレクションにより収集される前に、その Object がリソースを解放し、その他のクリーンアップ操作を実行できるようにします。 (Object から継承されます。) |
![]() | MemberwiseClone | 現在の Object の簡易コピーを作成します。 (Object から継承されます。) |

- ValidationPropertyAttributeのページへのリンク