ByNumberCollection.Add

Add(int)

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

public int Add(int value)
ParameterTypeDescription
valueInt32The 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


Add(int[])

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

public void Add(int[] values)
ParameterTypeDescription
valuesInt32[]The values.

See Also