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


Add(NamedStyle) Method
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)

Parameters

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