HTMLDivision.HTMLDivisionParent Method
Returns an HTMLDivision object that represents a parent division of the current HTML division.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Syntax
'Declaration
Function HTMLDivisionParent ( _
ByRef LevelsUp As Object _
) As HTMLDivision
'Usage
Dim instance As HTMLDivision
Dim LevelsUp As Object
Dim returnValue As HTMLDivision
returnValue = instance.HTMLDivisionParent(LevelsUp)
HTMLDivision HTMLDivisionParent(
ref Object LevelsUp
)
Parameters
- LevelsUp
Type: System.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.
Return Value
Type: Microsoft.Office.Interop.Word.HTMLDivision