共用方式為


ListObject.ShowHeaders Property

Gets or sets a value that indicates whether the header information should be displayed.

Namespace:  Microsoft.Office.Tools.Excel
Assembly:  Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)

Syntax

'Declaration
Property ShowHeaders As Boolean
bool ShowHeaders { get; set; }

Property Value

Type: System.Boolean
true if the header information should be displayed; otherwise, false. The default is false.

.NET Framework Security

See Also

Reference

ListObject Interface

Microsoft.Office.Tools.Excel Namespace