Spread ASP.NET 17
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / NamedStyleCollection Class / Insert Method
Zero-based index at which to insert the named style
Style to insert into the collection
Example


In This Topic
    Insert Method (NamedStyleCollection)
    In This Topic
    Inserts a style into the collection at the specified index.
    Syntax
    'Declaration
     
    
    Public Overridable Sub Insert( _
       ByVal index As Integer, _
       ByVal style As NamedStyle _
    ) 
    'Usage
     
    
    Dim instance As NamedStyleCollection
    Dim index As Integer
    Dim style As NamedStyle
     
    instance.Insert(index, style)
    public virtual void Insert( 
       int index,
       NamedStyle style
    )

    Parameters

    index
    Zero-based index at which to insert the named style
    style
    Style to insert into the collection
    Exceptions
    ExceptionDescription
    Specified index is out of range; must be between 0 and the total number in the collection
    No style specified or specified style is null
    Remarks
    This method inserts a style (NamedStyle object) into the collection of styles.
    Example
    This example inserts a style at the specified index into the collection.
    See Also