Argument.IsRequired Property

Definition

Tells if the BaseProperty pointed to by Property must be defined for the definition of the BaseProperty owning this argument to make sense.

C#
public bool IsRequired { get; set; }
C#
public bool IsRequired { [System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")] get; [System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")] set; }

Property Value

true if the BaseProperty must be defined; otherwise, false.

Attributes

Remarks

This field is optional and is set to false by default.

Applies to

Produit Versions
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1