Class
ExcelSlicerCacheOptionsFluent
OfficeIMO.Excel
The fluent methods of ExcelSlicerCacheOptions, generated from its public properties: A property-named method sets a property and a singular-named method adds to a collection, both returning the same instance.
Inheritance
- object
- ExcelSlicerCacheOptionsFluent
Methods
public static ExcelSlicerCacheOptions Name(ExcelSlicerCacheOptions excelSlicerCacheOptions, string value) #Sets ExcelSlicerCacheOptions.Name: Slicer cache name.
Parameters
- excelSlicerCacheOptions OfficeIMO.Excel.ExcelSlicerCacheOptions
- The instance.
- value string
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Excel.ExcelSlicerCacheOptions { Name = value }; excelSlicerCacheOptions.Name(value);public static ExcelSlicerCacheOptions PivotTableName(ExcelSlicerCacheOptions excelSlicerCacheOptions, string? value) #Sets ExcelSlicerCacheOptions.PivotTableName: Optional pivot table name the slicer is intended to filter.
Parameters
- excelSlicerCacheOptions OfficeIMO.Excel.ExcelSlicerCacheOptions
- The instance.
- value string?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Excel.ExcelSlicerCacheOptions { PivotTableName = value }; excelSlicerCacheOptions.PivotTableName(value);public static ExcelSlicerCacheOptions SourceName(ExcelSlicerCacheOptions excelSlicerCacheOptions, string? value) #Sets ExcelSlicerCacheOptions.SourceName: Source field, table column, or pivot field name.
Parameters
- excelSlicerCacheOptions OfficeIMO.Excel.ExcelSlicerCacheOptions
- The instance.
- value string?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Excel.ExcelSlicerCacheOptions { SourceName = value }; excelSlicerCacheOptions.SourceName(value);public static ExcelSlicerCacheOptions Xml(ExcelSlicerCacheOptions excelSlicerCacheOptions, string? value) #Sets ExcelSlicerCacheOptions.Xml: Optional caller-supplied XML preserved as a subtree in the OfficeIMO pivot-interaction metadata envelope.
Parameters
- excelSlicerCacheOptions OfficeIMO.Excel.ExcelSlicerCacheOptions
- The instance.
- value string?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Excel.ExcelSlicerCacheOptions { Xml = value }; excelSlicerCacheOptions.Xml(value);