System.CodeDom.CodeDirectionExpression Class

Represents an expression used as a method invoke parameter along with a reference direction indicator.

See Also: CodeDirectionExpression Members

Syntax

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

Remarks

System.CodeDom.CodeDirectionExpression can represent a parameter passed to a method and the reference direction of the parameter.

The CodeDirectionExpression.Expression property indicates the expression to qualify with a direction. The CodeDirectionExpression.Direction property indicates the direction of the parameter using one of the System.CodeDom.FieldDirection enumeration values.

Note:

System.CodeDom.CodeDirectionExpression is intended to be used as a method invoke parameter, and should not be used when declaring methods.

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