Spread Windows Forms 18
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / NamedStyleCollection Class / Add Method / Add(NamedStyle) Method
Name of the style to add


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

    Parameters

    style
    Name of the style to add
    Exceptions
    ExceptionDescription
    No style specified or specified style is null
    See Also