CodeDirectionExpression 构造函数

定义

初始化 CodeDirectionExpression 类的新实例。

重载

CodeDirectionExpression()

初始化 CodeDirectionExpression 类的新实例。

CodeDirectionExpression(FieldDirection, CodeExpression)

使用指定的字段方向和表达式初始化 CodeDirectionExpression 类的新实例。

CodeDirectionExpression()

Source:
CodeDirectionExpression.cs
Source:
CodeDirectionExpression.cs
Source:
CodeDirectionExpression.cs

初始化 CodeDirectionExpression 类的新实例。

public:
 CodeDirectionExpression();
public CodeDirectionExpression ();
Public Sub New ()

适用于

CodeDirectionExpression(FieldDirection, CodeExpression)

Source:
CodeDirectionExpression.cs
Source:
CodeDirectionExpression.cs
Source:
CodeDirectionExpression.cs

使用指定的字段方向和表达式初始化 CodeDirectionExpression 类的新实例。

public:
 CodeDirectionExpression(System::CodeDom::FieldDirection direction, System::CodeDom::CodeExpression ^ expression);
public CodeDirectionExpression (System.CodeDom.FieldDirection direction, System.CodeDom.CodeExpression expression);
new System.CodeDom.CodeDirectionExpression : System.CodeDom.FieldDirection * System.CodeDom.CodeExpression -> System.CodeDom.CodeDirectionExpression
Public Sub New (direction As FieldDirection, expression As CodeExpression)

参数

direction
FieldDirection

FieldDirection,指示表达式的字段方向。

expression
CodeExpression

CodeExpression,指示要表示的代码表达式。

适用于