共用方式為


ProcessParameterMetadata.Required Property

Gets or sets a flag indicating whether this process parameter is required for the build.

Namespace:  Microsoft.TeamFoundation.Build.Workflow
Assembly:  Microsoft.TeamFoundation.Build.Workflow (in Microsoft.TeamFoundation.Build.Workflow.dll)

Syntax

'Declaration
Public Property Required As Boolean
public bool Required { get; set; }
public:
property bool Required {
    bool get ();
    void set (bool value);
}
member Required : bool with get, set
function get Required () : boolean 
function set Required (value : boolean)

Property Value

Type: System.Boolean
True if this process parameter is required; otherwise, false.

.NET Framework Security

See Also

Reference

ProcessParameterMetadata Class

Microsoft.TeamFoundation.Build.Workflow Namespace