CodeStatementCollection Constructor (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(
	CodeStatement[] value
)

Parameters

value
Type: 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: