Spread Windows Forms 12.0 Product Documentation
Insert Method (DefaultStyleCollection)


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > DefaultStyleCollection Class : Insert Method
Index at which to insert the style
Style (NamedStyle object) to insert in the collection
Not supported; calling this method throws an exception because the collection is read-only.
Syntax
'Declaration
 
Public Sub Insert( _
   ByVal index As Integer, _
   ByVal style As NamedStyle _
) 
'Usage
 
Dim instance As DefaultStyleCollection
Dim index As Integer
Dim style As NamedStyle
 
instance.Insert(index, style)
public void Insert( 
   int index,
   NamedStyle style
)

Parameters

index
Index at which to insert the style
style
Style (NamedStyle object) to insert in the collection
See Also

Reference

DefaultStyleCollection Class
DefaultStyleCollection Members