Property MaxRecursionDepth MaxRecursionDepth Gets or sets the maximum directory recursion depth for recursive searches. Default is MaxValue. Declaration public int MaxRecursionDepth { get; set; } Property Value Type Description int