EnumerationOptions.MaxRecursionDepth 속성

정의

가 로 설정된 경우 열거하는 동안 재귀할 최대 디렉터리 깊이를 RecurseSubdirectories 나타내는 값을 가져오거나 설정합니다 true.

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 이 사용됩니다. 가 0으로 설정된 경우 MaxRecursionDepth 열거형은 초기 디렉터리의 내용을 반환합니다.

적용 대상