Spread Windows Forms 15.0
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType Namespace / HolidayStyleCollection Class / Add Method / Add(String) Method
The key of this HolidayStyle.


In This Topic
    Add(String) Method
    In This Topic
    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