PropertyInfoExtensions.IsRequired Method
Definition
Returns true
if the specified PropertyInfo represents a property marked with the required modifier; false
otherwise.
public static bool IsRequired(this PropertyInfo property);
Parameters
Name | Type | Description |
---|---|---|
property | The property |
Returns
true
if property
represents a property marked with the required modifier; false
otherwise.
Last modified: 17 December 2024