Partager via


OLEFormat.Label Property

Returns a string that's used to identify the portion of the source file that's being linked. For example, if the source file is a Microsoft Excel workbook, the Label property might return "Workbook1!R3C1:R4C2" if the OLE object contains only a few cells from the worksheet.

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

Syntax

'Declaration
ReadOnly Property Label As String
    Get
'Usage
Dim instance As OLEFormat
Dim value As String

value = instance.Label
string Label { get; }

Property Value

Type: System.String

Remarks

This property works only for shapes, inline shapes, or fields that are linked OLE objects.

See Also

Reference

OLEFormat Interface

OLEFormat Members

Microsoft.Office.Interop.Word Namespace