GrapeCity.Windows.SpreadSheet.Data Namespace > StyleInfoCollection Class : Insert Method |
'Declaration Public Overridable Sub Insert( _ ByVal index As System.Integer, _ ByVal style As StyleInfo _ )
'Usage Dim instance As StyleInfoCollection Dim index As System.Integer Dim style As StyleInfo instance.Insert(index, style)
Exception | Description |
---|---|
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. |
Target Platforms: Windows 7, Windows 8 Desktop, Windows Vista SP1 or later, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6