Spread Windows Forms 12.0 Product Documentation
Add(String) Method


GrapeCity.Win.PluginInputMan Assembly > GrapeCity.Win.Spread.InputMan.CellType Namespace > HolidayStyleCollection Class > Add Method : Add(String) Method
The key of this HolidayStyle.
Adds a new HolidayStyle with the specified key into the HolidayStyleCollection.
Syntax
'Declaration
 
Public Overloads Function Add( _
   ByVal key As String _
) As Integer
'Usage
 
Dim instance As HolidayStyleCollection
Dim key As String
Dim value As Integer
 
value = instance.Add(key)
public int Add( 
   string key
)

Parameters

key
The key of this HolidayStyle.

Return Value

The index of this HolidayStyle in HolidayStyleCollection.
See Also

Reference

HolidayStyleCollection Class
HolidayStyleCollection Members
Overload List