Partager via


GetChildItemCommand.Depth Property

Definition

Gets or sets max depth of recursion; automatically sets Recurse parameter; Value '0' will show only contents of container specified by -Path (same result as running 'Get-ChildItem' without '-Recurse'); Value '1' will show 1 level deep, etc...; Default is uint.MaxValue - it performs full recursion (this parameter has no effect).

public:
 property System::UInt32 Depth { System::UInt32 get(); void set(System::UInt32 value); };
public:
 property unsigned int Depth { unsigned int get(); void set(unsigned int value); };
public uint Depth { get; set; }
[System.Management.Automation.Parameter]
public uint Depth { get; set; }
member this.Depth : uint32 with get, set
[<System.Management.Automation.Parameter>]
member this.Depth : uint32 with get, set
Public Property Depth As UInteger

Property Value

Attributes

Applies to