ParameterInfo.Required Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a value that indicates whether the current parameter is a required parameter. If this value is true, a value must be assigned before a project or package can be executed.
public:
property bool Required { bool get(); };
public bool Required { get; }
member this.Required : bool
Public ReadOnly Property Required As Boolean
Property Value
true if the current parameter is a required parameter; otherwise, false.