Läs på engelska

Dela via


ValidateObjectMembersAttribute Class

Definition

Marks a field or property to be validated transitively.

C#
[System.AttributeUsage(System.AttributeTargets.Field | System.AttributeTargets.Property)]
public sealed class ValidateObjectMembersAttribute : 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

Produkt Versioner
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)
.NET Standard 2.0 (package-provided), 2.1 (package-provided)