[]
        
(Showing Draft Content)

FarPoint.Web.Spread.NamedStyleCollection.Insert

Insert Method

Insert(int, NamedStyle)

Inserts a style into the collection at the specified index.

Declaration
public virtual void Insert(int index, NamedStyle style)
Public Overridable Sub Insert(index As Integer, style As NamedStyle)
Parameters
Type Name Description
int index

Zero-based index at which to insert the named style

NamedStyle style

Style to insert into the collection

Exceptions
Type Condition
IndexOutOfRangeException

Specified index is out of range; must be between 0 and the total number in the collection

ArgumentNullException

No style specified or specified style is null