Property Depth Depth Gets the depth of the path, calculated as the number of directory levels in the path. Declaration public int Depth { get; } Property Value Type Description int