| Visual Basic (Declaration) | |
|---|---|
Public Sub AddRange( _ ByVal collection As IEnumerable(Of IConditionalFormattingRule) _ )  | |
| Visual Basic (Usage) |  Copy Code | 
|---|---|
Dim instance As ConditionalFormatting Dim collection As IEnumerable(Of IConditionalFormattingRule) instance.AddRange(collection)  | |
| C# | |
|---|---|
public void AddRange( IEnumerable<IConditionalFormattingRule> collection )  | |
Parameters
- collection
 - The collection whose elements should be added to the end of the ConditionalFormatting object. The collection itself and the elements cannot be null.
 
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8