IWebBrowser2 Interface

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2013, Dynamics CRM 2015, Dynamics CRM 2016

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

Namespace:   Microsoft.Uii.Csr.Browser.Web
Assembly:  Microsoft.Uii.Csr.Browser.Web (in Microsoft.Uii.Csr.Browser.Web.dll)

Syntax

[GuidAttribute("D30C1661-CDAF-11D0-8A3E-00C04FC9E26E")]
public interface IWebBrowser2
<GuidAttribute("D30C1661-CDAF-11D0-8A3E-00C04FC9E26E")>
Public Interface IWebBrowser2

Properties

Name Description
System_CAPS_pubproperty AddressBar

Gets or sets a value that indicates whether the address bar of the object is visible or hidden.

System_CAPS_pubproperty Application

Gets the automation object for the application that is hosting the WebBrowser Control.

System_CAPS_pubproperty Busy

Gets a value that indicates whether the object is engaged in a navigation or downloading operation.

System_CAPS_pubproperty Container

Gets an object reference to a container.

System_CAPS_pubproperty Document

Gets the automation object of the active document, if any.

System_CAPS_pubproperty FullName

Retrieves the fully qualified path of the Windows Internet Explorer executable.

System_CAPS_pubproperty FullScreen

Sets or gets a value that indicates whether Internet Explorer is in full-screen mode or normal window mode.

System_CAPS_pubproperty Height

Gets or sets the height of the object.

System_CAPS_pubproperty HWND

Gets the handle of the Internet Explorer main window.

System_CAPS_pubproperty Left

Gets or sets the coordinate of the left edge of the object.

System_CAPS_pubproperty LocationName

Retrieves the path or title of the resource that is currently displayed.

System_CAPS_pubproperty LocationURL

Gets the URL of the resource that is currently displayed.

System_CAPS_pubproperty MenuBar

Gets or sets a value that indicates whether the Internet Explorer menu bar is visible.

System_CAPS_pubproperty Name

Retrieves the frame name or application name of the object.

System_CAPS_pubproperty Offline

Gets or sets a value that indicates whether the object is operating in offline mode.

System_CAPS_pubproperty Parent

Gets the parent of the object.

System_CAPS_pubproperty Path

Retrieves the system folder of the Internet Explorer executable.

System_CAPS_pubproperty ReadyState

Gets the ready state of the object.

System_CAPS_pubproperty RegisterAsBrowser

Gets or sets a value that indicates whether the object is registered as a top-level browser window.

System_CAPS_pubproperty RegisterAsDropTarget

Gets or sets a value that indicates whether the object is registered as a drop target for navigation.

System_CAPS_pubproperty Resizable

Gets or sets a value that indicates whether the object can be resized.

System_CAPS_pubproperty Silent

Gets or sets a value that indicates whether the object can display dialog boxes.

System_CAPS_pubproperty StatusBar

Gets or sets a value that indicates whether the status bar for the object is visible.

System_CAPS_pubproperty StatusText

Gets or sets the text in the status bar for the object.

System_CAPS_pubproperty TheaterMode

Gets or sets a value that specifies whether the object is in theater mode.

System_CAPS_pubproperty ToolBar

Gets or sets the toolbars for the object.

System_CAPS_pubproperty Top

Gets or gets the coordinates of the top edge of the object.

System_CAPS_pubproperty TopLevelContainer

Gets a value that indicates whether the object is a top-level container.

System_CAPS_pubproperty Type

Gets the user type name of the contained document object.

System_CAPS_pubproperty Visible

Gets or sets a value that indicates whether the object is visible or hidden.

System_CAPS_pubproperty Width

Gets or sets the width of the object.

Methods

Name Description
System_CAPS_pubmethod ClientToWindow(Int32, Int32)

Computes the full size of the browser window when given the specified width and height of the content area.

System_CAPS_pubmethod ExecWB(OLECMDID, OLECMDEXECOPT, Object, Object)

Executes a command and returns the status of the command execution using the IOleCommandTarget interface.

System_CAPS_pubmethod GetProperty(String)

Gets the value associated with a user-defined property name.

System_CAPS_pubmethod GoBack()

Navigates backward one item in the history list.

System_CAPS_pubmethod GoForward()

Navigates forward one item in the history list.

System_CAPS_pubmethod GoHome()

Navigates to the current home or start page.

System_CAPS_pubmethod GoSearch()

Navigates to the current search page.

System_CAPS_pubmethod Navigate(String, Object, Object, Object, Object)

Navigates to a resource identified by a URL or to a file identified by a full path.

System_CAPS_pubmethod Navigate2(Object, Object, Object, Object, Object)

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.

System_CAPS_pubmethod PutProperty(String, Object)

Associates a user-defined name/value pair with the object.

System_CAPS_pubmethod QueryStatusWB(OLECMDID)

Queries the object for the status of commands using the QueryStatus method.

System_CAPS_pubmethod Quit()

Closes the object.

System_CAPS_pubmethod Refresh()

Reloads the file that is currently displayed in the object.

System_CAPS_pubmethod Refresh2(Object)

Reloads the file that is currently displayed with the specified refresh level.

System_CAPS_pubmethod ShowBrowserBar(Object, Object, Object)

Shows or hides a specified browser bar.

System_CAPS_pubmethod Stop()

Cancels a pending navigation or download, and stops dynamic page elements, such as background sounds and animations.

See Also

Microsoft.Uii.Csr.Browser.Web Namespace

Return to top

Unified Service Desk 2.0

© 2016 Microsoft. All rights reserved. Copyright