다음을 통해 공유


WebBrowser.Parent Property

Gets the parent object for the WebBrowser.

Namespace:  Microsoft.Office.Tools.Excel.Controls
Assembly:  Microsoft.Office.Tools.Excel.v4.0.Utilities (in Microsoft.Office.Tools.Excel.v4.0.Utilities.dll)

Syntax

'Declaration
Public ReadOnly Property Parent As Object
public Object Parent { get; }

Property Value

Type: System.Object
The parent object for the WebBrowser.

Remarks

The parent of a WebBrowser is a container control that connects the WebBrowser with the document, not the Range that contains the WebBrowser.

The parent of a WebBrowser can only be accessed as an Object.

Examples

For a code example that demonstrates how to use this property, see Button.Parent. All controls in the Microsoft.Office.Tools.Excel.Controls namespace have a functionally equivalent Parent property.

.NET Framework Security

See Also

Reference

WebBrowser Class

Microsoft.Office.Tools.Excel.Controls Namespace