DataLabel.Caption Property

Returns or sets a String value that represents the data label text.

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

Syntax

'Declaration
Property Caption As String
    Get
    Set
'Usage
Dim instance As DataLabel
Dim value As String

value = instance.Caption

instance.Caption = value
string Caption { get; set; }

Property Value

Type: System.String
String

See Also

Reference

DataLabel Interface

DataLabel Members

Microsoft.Office.Interop.Word Namespace