編輯

共用方式為


TimelineState Interface

Definition

The timeline-specific state of a SlicerCache object.

public interface class TimelineState
[System.Runtime.InteropServices.Guid("000244DF-0000-0000-C000-000000000046")]
[System.Runtime.InteropServices.InterfaceType(2)]
public interface TimelineState
Public Interface TimelineState
Attributes

Properties

Application

Returns an Application object that represents the Excel application. Read-only.

Creator

Returns a 32-bit integer that indicates the application in which the specified object was created. Read-only Integer (int in C#).

EndDate

Returns the end of the filtering date range (equals to StartDate if range is a single day). Object (object in C#) Read-only

FilterType

Returns the type of the date filter. XlPivotFilterType Read-only.

FilterValue1

Returns the first value associated with the date filter (semantics vary by filter type). Object (object in C#) Read-only.

FilterValue2

Returns the second value associated with the date filter (semantics vary by filter type). Object (object in C#) Read-only.

Parent

Returns an Object (object in C#) that represents the parent object of the specified TimelineState object. Read-only.

SingleRangeFilterState

True when the filtering state is a contiguous date range; False otherwise. Boolean (bool in C#) Read-only.

StartDate

Returns the start of the filtering date range. Object (object in C#) Read-only.

Methods

SetFilterDateRange(Object, Object)

Sets the Timeline’s filter.

Applies to