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
- class RequiredAttribute
Gets the target property required value.
public bool IsRequired { get; }
true if target property is required; otherwise, false.