NavigationHistoryEntry Class

https://html.spec.whatwg.org/multipage/nav-history-apis.html#the-navigationhistoryentry-interface

public sealed class NavigationHistoryEntry : EventTarget
Inheritance
EventTarget NavigationHistoryEntry

Properties

NameDescription
Idhttps://html.spec.whatwg.org/multipage/nav-history-apis.html#dom-navigationhistoryentry-id
Indexhttps://html.spec.whatwg.org/multipage/nav-history-apis.html#dom-navigationhistoryentry-index
Keyhttps://html.spec.whatwg.org/multipage/nav-history-apis.html#dom-navigationhistoryentry-key
OnDisposeGets or sets the event handler of the dispose event.
SameDocumenthttps://html.spec.whatwg.org/multipage/nav-history-apis.html#dom-navigationhistoryentry-samedocument
Urlhttps://html.spec.whatwg.org/multipage/nav-history-apis.html#dom-navigationhistoryentry-url

https://html.spec.whatwg.org/multipage/nav-history-apis.html#dom-navigationhistoryentry-id

public string Id { get; }

https://html.spec.whatwg.org/multipage/nav-history-apis.html#dom-navigationhistoryentry-index

public long Index { get; }

https://html.spec.whatwg.org/multipage/nav-history-apis.html#dom-navigationhistoryentry-key

public string Key { get; }

Gets or sets the event handler of the dispose event.

public Action<Event>? OnDispose { get; set; }

SameDocument

NavigationApi.cs

https://html.spec.whatwg.org/multipage/nav-history-apis.html#dom-navigationhistoryentry-samedocument

public bool SameDocument { get; }

https://html.spec.whatwg.org/multipage/nav-history-apis.html#dom-navigationhistoryentry-url

public string? Url { get; }

Methods

NameDescription
GetState()https://html.spec.whatwg.org/multipage/nav-history-apis.html#dom-navigationhistoryentry-getstate: a new deserialization of the state (null for undefined).

https://html.spec.whatwg.org/multipage/nav-history-apis.html#dom-navigationhistoryentry-getstate: a new deserialization of the state (null for undefined).

public object? GetState()