DateFormatCollection class

DateFormatCollection class

Represents a collection of DateFormat objects.

Learn more

The DateFormatCollection type exposes the following members:

Methods

Method Description
add Adds a date format object to the collection.
append
clear Removes all elements from the collection.
contains Determines whether the collection contains a specific item.
copy_to Copies the elements of the collection to a list, starting at a particular list index.
get_enumerator Returns an enumerator that iterates through the collection.
remove Removes the first occurrence of a specific element from the collection.

Properties

Property Description
count The number of elements contained in the collection.
is_read_only The collection is read‑only.

See Also