CodeDirectiveCollection::AddRange Method (array<CodeDirective^>^)

 

Adds an array of CodeDirective objects to the end of the collection.

Namespace:   System.CodeDom
Assembly:  System (in System.dll)

public:
void AddRange(
	array<CodeDirective^>^ value
)

Parameters

value
Type: array<System.CodeDom::CodeDirective^>^

An array of CodeDirective objects to add to the collection.

Exception Condition
ArgumentNullException

value is null.

The following code example shows the use of the AddRange(array<CodeDirective^>^) method to add an array of CodeDirective objects to the collection. This example is part of a larger example provided for the CodeDirectiveCollection class.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top
Show: