CodeStatementCollection Constructor (array<CodeStatement^>^)

 

Initializes a new instance of the CodeStatementCollection class that contains the specified array of CodeStatement objects.

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

public:
CodeStatementCollection(
	array<CodeStatement^>^ value
)

Parameters

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

An array of CodeStatement objects with which to initialize the collection.

Exception Condition
ArgumentNullException

value is null.

.NET Framework
Available since 1.1
Return to top
Show: