GrapeCity.Xaml.SpreadSheet.Data
Insert Method (StyleInfoCollection)


Zero-based index at which to insert the named style.
Style to insert into the collection.
Inserts a style into the collection at the specified index.
Syntax
'Declaration
 
Public Overridable Sub Insert( _
   ByVal index As Integer, _
   ByVal style As StyleInfo _
) 
'Usage
 
Dim instance As StyleInfoCollection
Dim index As Integer
Dim style As StyleInfo
 
instance.Insert(index, style)
public virtual void Insert( 
   int index,
   StyleInfo style
)

Parameters

index
Zero-based index at which to insert the named style.
style
Style to insert into the collection.
Exceptions
ExceptionDescription
System.IndexOutOfRangeException Specified index is out of range; must be between 0 and the total number in the collection.
System.ArgumentNullException No style specified, or the specified style is null.
Requirements

Target Platforms: Windows Server 2012, Windows RT

See Also

Reference

StyleInfoCollection Class
StyleInfoCollection Members

 

 


Copyright © GrapeCity, inc. All rights reserved.

Support Options