HtmlHistory.Length Property


Gets the size of the history stack.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public int Length { get; }

Property Value

Type: System.Int32

The current number of entries in the Uniform Resource Locator (URL) history.

If you want to determine how many entries exist before or after the current URL in the navigation stack, you will have to maintain this count yourself.

.NET Framework
Available since 2.0
Return to top