EnumerationOptions.MaxRecursionDepth プロパティ

定義

RecurseSubdirectoriestrue に設定されている場合、列挙中に再帰する最大ディレクトリの深さを示す値を取得または設定します。

public:
 property int MaxRecursionDepth { int get(); void set(int value); };
public int MaxRecursionDepth { get; set; }
member this.MaxRecursionDepth : int with get, set
Public Property MaxRecursionDepth As Integer

プロパティ値

列挙中に再帰するディレクトリの最大深さを表す数値。 既定値は Int32.MaxValue です

注釈

MaxRecursionDepthが負の数に設定されている場合は、既定値のMaxValueが使用されます。 MaxRecursionDepthが 0 に設定されている場合、列挙は初期ディレクトリの内容を返します。

適用対象