Share via


DeleteDirectory.Recursive Property

Gets or sets a flag indicating to recursively delete subdirectories of the directory specified by Directory.

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

Syntax

'Declaration
<BrowsableAttribute(True)> _
Public Property Recursive As InArgument(Of Boolean)
[BrowsableAttribute(true)]
public InArgument<bool> Recursive { get; set; }
[BrowsableAttribute(true)]
public:
property InArgument<bool>^ Recursive {
    InArgument<bool>^ get ();
    void set (InArgument<bool>^ value);
}
[<BrowsableAttribute(true)>]
member Recursive : InArgument<bool> with get, set
function get Recursive () : InArgument<boolean>
function set Recursive (value : InArgument<boolean>)

Property Value

Type: System.Activities.InArgument<Boolean>
True to recursively delete subdirectories; otherwise, false.

Remarks

This flag must be set to true if Directory contains subdirectories. Otherwise, the build will fail.

.NET Framework Security

See Also

Reference

DeleteDirectory Class

Microsoft.TeamFoundation.Build.Workflow.Activities Namespace