HTMLDivision.HTMLDivisionParent(Object) Method

Definition

Returns an HTMLDivision object that represents a parent division of the current HTML division.

public Microsoft.Office.Interop.Word.HTMLDivision HTMLDivisionParent (ref object LevelsUp);
abstract member HTMLDivisionParent : obj -> Microsoft.Office.Interop.Word.HTMLDivision
Public Function HTMLDivisionParent (Optional ByRef LevelsUp As Object) As HTMLDivision

Parameters

LevelsUp
Object

Optional Integer. The number of parent divisions to count back to return the desired division. If the LevelsUp argument is omitted, the HTML division returned is one level up from the current HTML division.

Returns

Applies to