GrapeCity.Win.MultiRow Namespace > NamedCellStyleDictionary Class : Add Method |
Dim instance As NamedCellStyleDictionary Dim key As String Dim value As CellStyle instance.Add(key, value)
Exception | Description |
---|---|
System.ArgumentNullException | The value is a null reference (Nothing in Visual Basic). -or- The key is a null reference (Nothing in Visual Basic). |
System.ArgumentException | An element with the same key already exists in the NamedCellStyleDictionary. |
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2