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
- Name
Type: System.String
The name of a CaptionLabel object.
Return Value
Type: Microsoft.Office.Interop.Word.CaptionLabel