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)
Usage
Dim LevelsUp As Object
Dim returnValue As HTMLDivision
Dim hTMLDivision1 As HTMLDivision
returnValue = hTMLDivision1.HTMLDivisionParent(LevelsUp)
Syntax
Function HTMLDivisionParent( _
<InAttribute()> Optional ByRef LevelsUp As Object _
) As HTMLDivision
HTMLDivision HTMLDivisionParent(
[In, Optional] ref object LevelsUp
);
public: HTMLDivision^ HTMLDivisionParent(
&Object^ LevelsUp
);
public HTMLDivision HTMLDivisionParent(
/*in*/System.Object LevelsUp
);
function HTMLDivisionParent(
LevelsUp : Object
) : HTMLDivision;
Parameters
- LevelsUp
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.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000
Target Platforms
See Also
Reference
HTMLDivision Interface
Microsoft.Office.Interop.Word Namespace