Share via


HTMLDivisions.Add Method 

Returns an HTMLDivision object that represents a new HTML division added to a Web document.

Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in microsoft.office.interop.word.dll)

Usage

Dim Range As Object
Dim returnValue As HTMLDivision
Dim hTMLDivisions1 As HTMLDivisions
returnValue = hTMLDivisions1.Add(Range)

Syntax

Function Add( _
    <InAttribute()> Optional ByRef Range As Object _
) As HTMLDivision
HTMLDivision Add(
    [In, Optional] ref object Range
);
public: HTMLDivision^ Add(
    &Object^ Range
);
public HTMLDivision Add(
    /*in*/System.Object Range
);
function Add(
     Range : Object
) : HTMLDivision;

Parameters

  • Range
    Optional Object. An existing HTML division around which to place the new 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

HTMLDivisions Interface
Microsoft.Office.Interop.Word Namespace

Other Resources

HTMLDivisions Members