CaptionLabels.Add Method

Adds a CaptionLabel object that represents a custom caption label to the CaptionLabels collection.

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

Syntax

'Declaration
Function Add ( _
    Name As String _
) As CaptionLabel
'Usage
Dim instance As CaptionLabels
Dim Name As String
Dim returnValue As CaptionLabel

returnValue = instance.Add(Name)
CaptionLabel Add(
    string Name
)

Parameters

Return Value

Type: Microsoft.Office.Interop.Word.CaptionLabel

See Also

Reference

CaptionLabels Interface

CaptionLabels Members

Microsoft.Office.Interop.Word Namespace