ScheduleDefinition Methods


Schedule Definition Methods

The ScheduleDefinition type exposes the following members.

Methods
Name Description
Public method AddEmbeddedSchedule Adds an embedded ScheduleDefinition.
Public method AddField(SchedulableField) Adds a regular field at the end of the list.
Public method AddField(ScheduleFieldType) Adds a regular field at the end of the list.
Public method AddField(ScheduleFieldType, ElementId) Adds a regular field at the end of the list.
Public method AddFilter Adds a new filter at the end of the list.
Public method AddSortGroupField Adds a new sorting/grouping field at the end of the list.
Public method CanFilter Checks whether filters can be added to this ScheduleDefinition.
Public method CanFilterByGlobalParameters Checks whether a field can be used with a global parameter-based filter.
Public method CanFilterByParameterExistence Checks whether a field can be used with a HasParameter filter.
Public method CanFilterBySubstring Checks whether a field can be used with a substring-based filter.
Public method CanFilterByValue Checks whether a field can be used with a value-based filter.
Public method CanFilterByValuePresence Checks whether a field can be used with a value presence-based filter.
Public method CanHaveEmbeddedSchedule Indicates if this ScheduleDefinition can have an embedded ScheduleDefinition added.
Public method CanIncludeLinkedFiles Checks whether the schedule is a type that supports including elements from linked files.
Public method CanSortByField Checks whether a field can be used for sorting/grouping.
Public method ClearFields Removes all fields.
Public method ClearFilters Removes all filters.
Public method ClearSortGroupFields Removes all sorting/grouping fields.
Public method Dispose
Public method Equals Determines whether the specified object is equal to the current object.
(Inherited from Object )
Public method GetField(Int32) Gets a field.
Public method GetField(ScheduleFieldId) Gets a field.
Public method GetFieldCount Gets the number of fields in this ScheduleDefinition.
Public method GetFieldId Converts a field index to the corresponding field ID.
Public method GetFieldIndex Converts a field ID to the corresponding field index.
Public method GetFieldOrder Gets the IDs of the current list of fields in order.
Public method GetFilter Gets a filter.
Public method GetFilterCount Gets the number of filters in this ScheduleDefinition.
Public method GetFilters Gets all filters in this ScheduleDefinition.
Public method GetHashCode Serves as the default hash function.
(Inherited from Object )
Public method GetSchedulableFields Gets a list of all non-calculated/non-combined fields that are eligible to be included in this schedule.
Public method GetSortGroupField Gets a sorting/grouping field.
Public method GetSortGroupFieldCount Gets the number of sorting/grouping fields in this ScheduleDefinition.
Public method GetSortGroupFields Gets all sorting/grouping fields in this ScheduleDefinition.
Public method GetType Gets the Type of the current instance.
(Inherited from Object )
Public method GetValidCategoriesForEmbeddedSchedule Get all categories that can be used for an embedded ScheduleDefinition in this ScheduleDefinition.
Public method InsertCombinedParameterField
Public method InsertField(SchedulableField, Int32) Adds a regular field at the specified position in the list.
Public method InsertField(ScheduleFieldType, Int32) Adds a regular field at the specified position in the list.
Public method InsertField(ScheduleFieldType, ElementId, Int32) Adds a regular field at the specified position in the list.
Public method InsertFilter Adds a new filter at the specified position in the list.
Public method InsertSortGroupField Adds a new sorting/grouping field at the specified position in the list.
Public method IsSchedulableField Checks whether a non-calculated/non-combined field is eligible to be included in this schedule.
Public method IsValidCategoryForEmbeddedSchedule Indicates if a category can be used for an embedded ScheduleDefinition in this ScheduleDefinition.
Public method IsValidCategoryForFilterBySheet Checks whether a schedule can be filtered by sheet.
Public method IsValidCombinedParameters
Public method IsValidFieldId Checks whether a ScheduleFieldId is the ID of a field in this ScheduleDefinition.
Public method IsValidFieldIndex Checks whether an integer is a valid zero-based field index in this ScheduleDefinition.
Public method RemoveEmbeddedSchedule Removes the embedded ScheduleDefinition.
Public method RemoveField(Int32) Removes a field.
Public method RemoveField(ScheduleFieldId) Removes a field.
Public method RemoveFilter Removes a filter.
Public method RemoveSortGroupField Removes a sorting/grouping field.
Public method SetFieldOrder
Public method SetFilter Replaces a filter.
Public method SetFilters
Public method SetSortGroupField Replaces a sorting/grouping field.
Public method SetSortGroupFields
Public method ToString Returns a string that represents the current object.
(Inherited from Object )
Top
See Also