Condividi tramite


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.

public:
 property bool IsRequired { bool get(); void set(bool value); };
public bool IsRequired { get; set; }
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; }
member this.IsRequired : bool with get, set
[<get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
[<set: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
member this.IsRequired : bool with get, set
Public Property IsRequired As Boolean

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