Spread Windows Forms 7.0 Product Documentation
Insert Method
See Also  Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > DefaultStyleCollection Class : Insert Method


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

Glossary Item Box

Not supported; calling this method throws an exception because the collection is read-only.

Syntax

Visual Basic (Declaration) 
Public Sub Insert( _
   ByVal index As Integer, _
   ByVal style As NamedStyle _
) 
Visual Basic (Usage)Copy Code
Dim instance As DefaultStyleCollection
Dim index As Integer
Dim style As NamedStyle
 
instance.Insert(index, style)
C# 
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

Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.