Share via


HeadersFooters.Item Property

Returns a header or footer in a range or selection.

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

Syntax

'Declaration
ReadOnly Default Property Item ( _
    Index As WdHeaderFooterIndex _
) As HeaderFooter
    Get
'Usage
Dim instance As HeadersFooters
Dim Index As WdHeaderFooterIndex
Dim value As HeaderFooter

value = instance(Index)
HeaderFooter this[
    WdHeaderFooterIndex Index
] { get; }

Parameters

Property Value

Type: Microsoft.Office.Interop.Word.HeaderFooter

See Also

Reference

HeadersFooters Interface

HeadersFooters Members

Microsoft.Office.Interop.Word Namespace