Export (0) Print
Expand All

HtmlPage.Plugin Property

Silverlight

Gets a reference to the Silverlight plug-in that is defined within an <object> or <embed> tag on the host HTML page.

Namespace:  System.Windows.Browser
Assembly:  System.Windows.Browser (in System.Windows.Browser.dll)

'Declaration
Public Shared ReadOnly Property Plugin As HtmlElement

Property Value

Type: System.Windows.Browser.HtmlElement
The Silverlight plug-in in the Document Object Model (DOM).

If the managed runtime is in a shutdown state, the HtmlElement that is returned from Plugin throws an ObjectDisposedException from all methods and properties. However, the rest of the HTML Bridge API is still functional. Therefore, it is possible to get an HtmlElement from the Plugin property when an application domain shutdown is pending. However, the HtmlElement will not be functional, and all calls against it will fail.

Silverlight

Supported in: 5, 4, 3

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2014 Microsoft