HeadersFooters.Item[WdHeaderFooterIndex] Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a header or footer in a range or selection.
public:
property Microsoft::Office::Interop::Word::HeaderFooter ^ default[Microsoft::Office::Interop::Word::WdHeaderFooterIndex] { Microsoft::Office::Interop::Word::HeaderFooter ^ get(Microsoft::Office::Interop::Word::WdHeaderFooterIndex Index); };
public Microsoft.Office.Interop.Word.HeaderFooter this[Microsoft.Office.Interop.Word.WdHeaderFooterIndex Index] { get; }
member this.Item(Microsoft.Office.Interop.Word.WdHeaderFooterIndex) : Microsoft.Office.Interop.Word.HeaderFooter
Default Public ReadOnly Property Item(Index As WdHeaderFooterIndex) As HeaderFooter
Parameters
- Index
- WdHeaderFooterIndex
Required WdHeaderFooterIndex. A constant that specifies the header or footer in the selection. Can be one of the following WdHeaderFooterIndex constants:wdHeaderFooterEvenPageswdHeaderFooterFirstPagewdHeaderFooterPrimary