NavigationDestination Class
https://html.spec.whatwg.org/multipage/nav-history-apis.html#the-navigationdestination-interface
public sealed class NavigationDestinationProperties
| Name | Description |
|---|---|
| Id | Gets the ID of the destination entry of a traversal; otherwise an empty string. |
| Index | Gets the index of the destination entry of a traversal; otherwise -1. |
| Key | Gets the key of the destination entry of a traversal; otherwise an empty string. |
| SameDocument | Gets a value indicating whether the navigation stays in the current document. |
| Url | Gets the serialized URL the navigation goes to. |
Gets the ID of the destination entry of a traversal; otherwise an empty string.
public string Id { get; }Index
NavigationApi.csGets the index of the destination entry of a traversal; otherwise -1.
public long Index { get; }Gets the key of the destination entry of a traversal; otherwise an empty string.
public string Key { get; }SameDocument
NavigationApi.csGets a value indicating whether the navigation stays in the current document.
public bool SameDocument { get; }Gets the serialized URL the navigation goes to.
public string Url { get; }Methods
| Name | Description |
|---|---|
| GetState() | https://html.spec.whatwg.org/multipage/nav-history-apis.html#dom-navigationdestination-getstate |
GetState()
NavigationApi.cshttps://html.spec.whatwg.org/multipage/nav-history-apis.html#dom-navigationdestination-getstate
public object? GetState()