AutoCaption.CaptionLabel Property 

Returns or sets the caption label ("Figure," "Table," or "Equation," for example) of the specified caption.

Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in microsoft.office.interop.word.dll)

Usage

Dim autoCaption1 As AutoCaption

Dim returnValue As Object
returnValue = autoCaption1.CaptionLabel

Dim sampleValue As Object
autoCaption1.CaptionLabel = sampleValue

Syntax

Property CaptionLabel() As Object
object CaptionLabel {get; set;}
property Object^ CaptionLabel{
    Object^ get();
    Void set(Object^);
}
public System.Object get_CaptionLabel();
public void set_CaptionLabel(System.Object);
function get CaptionLabel() : Object;
function set CaptionLabel(Object);

Remarks

This property can be set to a caption label or a WdCaptionLabelID constant.

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

AutoCaption Interface
Microsoft.Office.Interop.Word Namespace

Other Resources

AutoCaption Members