共用方式為


PivotTableDefinition.ColumnHeaderCaption Property

Column Header Caption.Represents the attribte in schema: colHeaderCaption

Namespace:  DocumentFormat.OpenXml.Spreadsheet
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
<SchemaAttrAttribute(, "colHeaderCaption")> _
Public Property ColumnHeaderCaption As StringValue
    Get
    Set
'Usage
Dim instance As PivotTableDefinition
Dim value As StringValue

value = instance.ColumnHeaderCaption

instance.ColumnHeaderCaption = value
[SchemaAttrAttribute(, "colHeaderCaption")]
public StringValue ColumnHeaderCaption { get; set; }

Property Value

Type: DocumentFormat.OpenXml.StringValue

See Also

Reference

PivotTableDefinition Class

PivotTableDefinition Members

DocumentFormat.OpenXml.Spreadsheet Namespace