ValidateObjectMembersAttribute Class

Definition

Marks a field or property to be validated transitively.

public ref class ValidateObjectMembersAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Field | System.AttributeTargets.Property)]
public sealed class ValidateObjectMembersAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Field | System.AttributeTargets.Property)>]
type ValidateObjectMembersAttribute = class
    inherit Attribute
Public NotInheritable Class ValidateObjectMembersAttribute
Inherits Attribute
Inheritance
ValidateObjectMembersAttribute
Attributes

Constructors

ValidateObjectMembersAttribute()

Initializes a new instance of the ValidateObjectMembersAttribute class.

ValidateObjectMembersAttribute(Type)

Initializes a new instance of the ValidateObjectMembersAttribute class.

Properties

Validator

Gets the type to use to validate a field or property.

Applies to