Udostępnij za pośrednictwem


HtmlPage.Document Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets the browser's document object.

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

Syntax

'Declaration
Public Shared ReadOnly Property Document As HtmlDocument
public static HtmlDocument Document { get; }

Property Value

Type: System.Windows.Browser.HtmlDocument
A reference to the browser's document object.

Remarks

The return value is strongly typed as an HtmlDocument, because the browser's document object is a first-class type in Silverlight.

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

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