Spread WPF 17
GrapeCity.Windows.SpreadSheet.Data Namespace / StyleInfoCollection Class / Add Method / Add(StyleInfo) Method
The style to add.


In This Topic
    Add(StyleInfo) Method
    In This Topic
    Adds a style (StyleInfo object) to the collection.
    Syntax
    'Declaration
     
    Public Overloads Overridable Function Add( _
       ByVal style As StyleInfo _
    ) As Integer
    'Usage
     
    Dim instance As StyleInfoCollection
    Dim style As StyleInfo
    Dim value As Integer
     
    value = instance.Add(style)
    public virtual int Add( 
       StyleInfo style
    )

    Parameters

    style
    The style to add.

    Return Value

    The number of styles in this collection.
    Exceptions
    ExceptionDescription
    No style specified, or the specified style is null.
    See Also