Muokkaa

Jaa


Option.IsRequired Property

Definition

Indicates whether the option is required when its parent command is invoked.

public:
 property bool IsRequired { bool get(); void set(bool value); };
public bool IsRequired { get; set; }
member this.IsRequired : bool with get, set
Public Property IsRequired As Boolean

Property Value

Remarks

When an option is required and its parent command is invoked without it, an error results.

Applies to