共用方式為


READYSTATE Enumerated Type

Contains values that indicate what state an object is in.

Syntax

typedef enum tagREADYSTATE {
    READYSTATE_UNINITIALIZED = 0,
    READYSTATE_LOADING = 1,
    READYSTATE_LOADED = 2,
    READYSTATE_INTERACTIVE = 3,
    READYSTATE_COMPLETE = 4
} READYSTATE;

Constants

  • READYSTATE_UNINITIALIZED
    Default initialization state.

  • READYSTATE_LOADING
    Object is currently loading its properties.

  • READYSTATE_LOADED
    Object has been initialized.

  • READYSTATE_INTERACTIVE
    Object is interactive, but not all of its data is available.

  • READYSTATE_COMPLETE
    Object has received all of its data.

Remarks

This is used with the ReadyState property and the IWebBrowser2::get_ReadyState method.

Enumerated Type Information

Header and IDL files Ocidl.h, Ocidl.idl
Minimum availability Internet Explorer 4.0
Minimum operating systems Windows NT 4.0, Windows 95, Windows CE 2.12