Add

ByNumberCollection.Add method (1 of 2)

Adds a month, week, day, hour, minute or second to the collection.

public int Add(int value)
Parameter Type Description
value Int32 The value to add.

Return Value

The zero-based index of the newly added item.

Remarks

Throws an exception if the value is outside of the valid range for the time unit of this collection.

See Also


ByNumberCollection.Add method (2 of 2)

Adds an array of month, week, day, hour, minute or second to the collection.

public void Add(int[] values)
Parameter Type Description
values Int32[] The values.

See Also