WebBrowser.Document WebBrowser.Document WebBrowser.Document WebBrowser.Document Property

Definition

Gets the Document object that represents the hosted HTML page.

public:
 property System::Object ^ Document { System::Object ^ get(); };
[get: System.Security.SecurityCritical]
public object Document { get; }
member this.Document : obj
Public ReadOnly Property Document As Object
Property Value

A Document object.

Exceptions

A reference to the underlying native WebBrowser could not be retrieved.

Remarks

The Document object needs to be cast to the COM interface you are expecting.

Security

SecurityPermission
to call this property. Associated enumeration: UnmanagedCode

Applies to