BuildingBlocks.Add Method

Creates a new building block and returns a BuildingBlock object.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

Syntax

'Declaration
Function Add ( _
    Name As String, _
    Range As Range, _
    ByRef Description As Object, _
    InsertOptions As WdDocPartInsertOptions _
) As BuildingBlock
'Usage
Dim instance As BuildingBlocks
Dim Name As String
Dim Range As Range
Dim Description As Object
Dim InsertOptions As WdDocPartInsertOptions
Dim returnValue As BuildingBlock

returnValue = instance.Add(Name, Range, _
    Description, InsertOptions)
BuildingBlock Add(
    string Name,
    Range Range,
    ref Object Description,
    WdDocPartInsertOptions InsertOptions
)

Parameters

Return Value

Type: Microsoft.Office.Interop.Word.BuildingBlock
BuildingBlock

See Also

Reference

BuildingBlocks Interface

BuildingBlocks Members

Microsoft.Office.Interop.Word Namespace