Delen via


ParameterAttribute.Mandatory Property

Definition

Gets or sets a flag specifying if this parameter is Mandatory. When it is not specified, false is assumed and the parameter is considered optional.

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

Property Value

Applies to