CodeStatementCollection Constructor (CodeStatementCollection)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: