編輯

共用方式為


HeadersFooters.Item[WdHeaderFooterIndex] Property

Definition

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

Property Value

Applies to