Compartilhar via


Axis.CategoryNames Property

Returns or sets all the category names for the specified axis as a text array.

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

Syntax

'Declaration
Property CategoryNames As Object
    Get
    Set
'Usage
Dim instance As Axis
Dim value As Object

value = instance.CategoryNames

instance.CategoryNames = value
Object CategoryNames { get; set; }

Property Value

Type: System.Object

Remarks

When you set this property, you can set it to either an array or a Range object that contains the category names.

This property applies only to category axes.

See Also

Reference

Axis Interface

Axis Members

Microsoft.Office.Interop.Excel Namespace