編輯

共用方式為


Selection.HeaderFooter Property

Definition

Returns a HeaderFooter object for the specified selection.

public:
 property Microsoft::Office::Interop::Word::HeaderFooter ^ HeaderFooter { Microsoft::Office::Interop::Word::HeaderFooter ^ get(); };
public Microsoft.Office.Interop.Word.HeaderFooter HeaderFooter { get; }
member this.HeaderFooter : Microsoft.Office.Interop.Word.HeaderFooter
Public ReadOnly Property HeaderFooter As HeaderFooter

Property Value

Remarks

An error occurs if the selection isn't located within a header or footer.

Applies to