System.CodeDom.CodeDirectionExpression Class

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

See Also: CodeDirectionExpression Members


public class CodeDirectionExpression : CodeExpression


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.


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


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