CodeStatement.LinePragma 属性

定义

获取或设置代码语句所在的行。Gets or sets the line on which the code statement occurs.

public:
 property System::CodeDom::CodeLinePragma ^ LinePragma { System::CodeDom::CodeLinePragma ^ get(); void set(System::CodeDom::CodeLinePragma ^ value); };
public System.CodeDom.CodeLinePragma LinePragma { get; set; }
member this.LinePragma : System.CodeDom.CodeLinePragma with get, set
Public Property LinePragma As CodeLinePragma

属性值

一个 CodeLinePragma 对象,指示代码语句的上下文。A CodeLinePragma object that indicates the context of the code statement.

注解

此属性指示代码语句的位置。This property indicates the location of the code statement.

适用于

另请参阅