CodeStatementCollection Constructor (CodeStatementCollection)

 

Initializes a new instance of the CodeStatementCollection class that contains the elements of the specified source collection.

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

public CodeStatementCollection(
	CodeStatementCollection value
)

Parameters

value
Type: System.CodeDom.CodeStatementCollection

A CodeStatementCollection object with which to initialize the collection.

Exception Condition
ArgumentNullException

value is null.

.NET Framework
Available since 1.1
Return to top
Show: