System.CodeDom.CodeParameterDeclarationExpression Class

Represents a parameter declaration for a method, property, or constructor.

See Also: CodeParameterDeclarationExpression Members

Syntax

[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.AutoDispatch)]
[System.Runtime.InteropServices.ComVisible(true)]
public class CodeParameterDeclarationExpression : CodeExpression

Remarks

System.CodeDom.CodeParameterDeclarationExpression can be used to represent code that declares a parameter for a method, property, or constructor.

The CodeParameterDeclarationExpression.Name property specifies the name of the parameter. The CodeParameterDeclarationExpression.Type property specifies the data type of the parameter. The CodeParameterDeclarationExpression.Direction property specifies the direction modifier of the parameter. The CodeParameterDeclarationExpression.CustomAttributes property specifies the attributes associated with the parameter.

Requirements

Namespace: System.CodeDom
Assembly: System (in System.dll)
Assembly Versions: 1.0.3300.0, 1.0.5000.0, 2.0.0.0, 4.0.0.0