Share via


IWebBrowser2 Members

Represents an instance of the InternetExplorer application (OLE Automation).

The following tables list the members exposed by the IWebBrowser2 type.

Public Properties

  Name Description
public property AddressBar Gets or sets a value that indicates whether the address bar of the object is visible or hidden.
public property Application Gets the automation object for the application that is hosting the WebBrowser Control.
public property Busy Gets a value that indicates whether the object is engaged in a navigation or downloading operation.
public property Container Gets an object reference to a container.
public property Document Gets the automation object of the active document, if any.
public property FullName Retrieves the fully qualified path of the Windows Internet Explorer executable.
public property FullScreen Sets or gets a value that indicates whether Internet Explorer is in full-screen mode or normal window mode.
public property Height Gets or sets the height of the object.
public property HWND Gets the handle of the Internet Explorer main window.
public property Left Gets or sets the coordinate of the left edge of the object.
public property LocationName Retrieves the path or title of the resource that is currently displayed.
public property LocationURL Gets the URL of the resource that is currently displayed.
public property MenuBar Gets or sets a value that indicates whether the Internet Explorer menu bar is visible.
public property Name Retrieves the frame name or application name of the object.
public property Offline Gets or sets a value that indicates whether the object is operating in offline mode.
public property Parent Gets the parent of the object.
public property Path Retrieves the system folder of the Internet Explorer executable.
public property ReadyState Gets the ready state of the object.
public property RegisterAsBrowser Gets or sets a value that indicates whether the object is registered as a top-level browser window.
public property RegisterAsDropTarget Gets or sets a value that indicates whether the object is registered as a drop target for navigation.
public property Resizable Gets or sets a value that indicates whether the object can be resized.
public property Silent Gets or sets a value that indicates whether the object can display dialog boxes.
public property StatusBar Gets or sets a value that indicates whether the status bar for the object is visible.
public property StatusText Gets or sets the text in the status bar for the object.
public property TheaterMode Gets or sets a value that specifies whether the object is in theater mode.
public property ToolBar Gets or sets the toolbars for the object.
public property Top Gets or gets the coordinates of the top edge of the object.
public property TopLevelContainer Gets a value that indicates whether the object is a top-level container.
public property Type Gets the user type name of the contained document object.
public property Visible Gets or sets a value that indicates whether the object is visible or hidden.
public property Width Gets or sets the width of the object.

Top

Public Methods

  Name Description
public method ClientToWindow Computes the full size of the browser window when given the specified width and height of the content area.
public method ExecWB Executes a command and returns the status of the command execution using the IOleCommandTarget interface.
public method GetProperty Gets the value associated with a user-defined property name.
public method GoBack Navigates backward one item in the history list.
public method GoForward Navigates forward one item in the history list.
public method GoHome Navigates to the current home or start page.
public method GoSearch Navigates to the current search page.
public method Navigate Navigates to a resource identified by a URL or to a file identified by a full path.
public method Navigate2 Navigates the browser to a location that might not be expressed as a URL, such as a pointer to an item identifier list (PIDL) for an entity in the Windows Shell namespace.
public method PutProperty Associates a user-defined name/value pair with the object.
public method QueryStatusWB Queries the object for the status of commands using the QueryStatus method.
public method Quit Closes the object.
public method Refresh Reloads the file that is currently displayed in the object.
public method Refresh2 Reloads the file that is currently displayed with the specified refresh level.
public method ShowBrowserBar Shows or hides a specified browser bar.
public method Stop Cancels a pending navigation or download, and stops dynamic page elements, such as background sounds and animations.

Top

See Also

Reference

IWebBrowser2 Interface
Microsoft.Uii.Csr.Browser.Web Namespace

Unified Service Desk
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.