Compartir a través de


type property

The IHTMLPerformanceNavigation::type property must return the type of the last non-redirect navigation in the current browsing context.

 

Syntax

HRESULT value = object.get_type(* p);

Property values

Type: unsigned long

A value that indicates how the request to load the page was generated.

TYPE_NAVIGATE (0 (0x00))

The page was loaded by an action that was generated by the user, such as clicking a link, entering a URL into the address bar, and so on.

TYPE_RELOAD (1 (0x01))

The page was refreshed.

TYPE_BACK_FORWARD (2 (0x02))

The page was loaded by navigating forward or backward through the history.

TYPE_RESERVED (255 (0xFF))

Any navigation type not defined by the other navigation types.

Standards information