WebBrowser.Document Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the Document object that represents the hosted HTML page.
public:
property System::Object ^ Document { System::Object ^ get(); };
public object Document { [System.Security.SecurityCritical] get; }
public object Document { get; }
[<get: System.Security.SecurityCritical>]
member this.Document : obj
member this.Document : obj
Public ReadOnly Property Document As Object
Property Value
A Document object.
- Attributes
Exceptions
The WebBrowser instance is no longer valid.
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.
Applies to
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
.NET