Skip to content

RequiredAttribute.IsRequired property

Gets the target property required value.

public bool IsRequired { get; }

Property Value

true if target property is required; otherwise, false.

See Also