Share via


CommandLineToolSwitch.Required Property

Definition

This property indicates whether or not the property is required in the project file

public:
 property bool Required { bool get(); void set(bool value); };
public bool Required { get; set; }
public bool Required { [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.Required : 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.Required : bool with get, set
Public Property Required As Boolean

Property Value

True If the switch is required; otherwise, false.

Attributes

Applies to