CodeParameterDeclarationExpression Constructor (CodeTypeReference, String)

 

Initializes a new instance of the CodeParameterDeclarationExpression class using the specified parameter type and name.

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

public CodeParameterDeclarationExpression(
	CodeTypeReference type,
	string name
)

Parameters

type
Type: System.CodeDom.CodeTypeReference

An object that indicates the type of the parameter to declare.

name
Type: System.String

The name of the parameter to declare.

.NET Framework
Available since 1.1
Return to top
Show: