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.

適用於

另請參閱