Export (0) Print
Expand All

CodeParameterDeclarationExpressionCollection Constructor

.NET Framework 1.1

Initializes a new instance of the CodeParameterDeclarationExpressionCollection class.

Overload List

Initializes a new instance of the CodeParameterDeclarationExpressionCollection class.

[Visual Basic] Public Sub New()
[C#] public CodeParameterDeclarationExpressionCollection();
[C++] public: CodeParameterDeclarationExpressionCollection();
[JScript] public function CodeParameterDeclarationExpressionCollection();

Initializes a new instance of the CodeParameterDeclarationExpressionCollection class containing the specified array of CodeParameterDeclarationExpression objects.

[Visual Basic] Public Sub New(CodeParameterDeclarationExpression())
[C#] public CodeParameterDeclarationExpressionCollection(CodeParameterDeclarationExpression[]);
[C++] public: CodeParameterDeclarationExpressionCollection(CodeParameterDeclarationExpression*[]);
[JScript] public function CodeParameterDeclarationExpressionCollection(CodeParameterDeclarationExpression[]);

Initializes a new instance of the CodeParameterDeclarationExpressionCollection class containing the elements of the specified source collection.

[Visual Basic] Public Sub New(CodeParameterDeclarationExpressionCollection)
[C#] public CodeParameterDeclarationExpressionCollection(CodeParameterDeclarationExpressionCollection);
[C++] public: CodeParameterDeclarationExpressionCollection(CodeParameterDeclarationExpressionCollection*);
[JScript] public function CodeParameterDeclarationExpressionCollection(CodeParameterDeclarationExpressionCollection);

Example

[Visual Basic, C#, C++] Note   This example shows how to use one of the overloaded versions of the CodeParameterDeclarationExpressionCollection constructor. For other examples that might be available, see the individual overload topics.
[Visual Basic] 
' Creates an empty CodeParameterDeclarationExpressionCollection.
Dim collection As New CodeParameterDeclarationExpressionCollection()

[C#] 
// Creates an empty CodeParameterDeclarationExpressionCollection.
CodeParameterDeclarationExpressionCollection collection = new CodeParameterDeclarationExpressionCollection();

[C++] 
// Creates an empty CodeParameterDeclarationExpressionCollection.
CodeParameterDeclarationExpressionCollection* collection = new CodeParameterDeclarationExpressionCollection();

[JScript] No example is available for JScript. To view a Visual Basic, C#, or C++ example, click the Language Filter button Language Filter in the upper-left corner of the page.

See Also

CodeParameterDeclarationExpressionCollection Class | CodeParameterDeclarationExpressionCollection Members | System.CodeDom Namespace

Show:
© 2015 Microsoft