Spread ASP.NET 6.0 Product Documentation
Insert Method
See Also  Send Feedback
FarPoint.Web.Spread Assembly > FarPoint.Web.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 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2002-2012 GrapeCity, Inc. All Rights Reserved.