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)
Usage
Dim Name As String
Dim returnValue As CaptionLabel
Dim captionLabels1 As CaptionLabels
returnValue = captionLabels1.Add(Name)
Syntax
Function Add( _
<InAttribute()> ByVal Name As String _
) As CaptionLabel
CaptionLabel Add(
[In] string Name
);
public: CaptionLabel^ Add(
String^ Name
);
public CaptionLabel Add(
/*in*/System.String Name
);
function Add(
Name : String
) : CaptionLabel;
Parameters
- Name
The name of a CaptionLabel object.
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
CaptionLabels Interface
Microsoft.Office.Interop.Word Namespace