[]
        
(Showing Draft Content)

GrapeCity.Win.Spread.InputMan.CellType.HolidayStyleCollection.Add

Add Method

Add(string)

Adds a new HolidayStyle with the specified key into the HolidayStyleCollection.

Declaration
public int Add(string key)
Public Function Add(key As String) As Integer
Parameters
Type Name Description
string key

The key of this HolidayStyle.

Returns
Type Description
int

The index of this HolidayStyle in HolidayStyleCollection.

Add(string, HolidayStyle)

Adds an item with the specified key and value into the HolidayStyleCollection.

Declaration
public int Add(string key, HolidayStyle holidayStyle)
Public Function Add(key As String, holidayStyle As HolidayStyle) As Integer
Parameters
Type Name Description
string key

The key of this item.

HolidayStyle holidayStyle

The value of this item.

Returns
Type Description
int

The index of this item in HolidayStyleCollection.