CodeGeneratorOptions.ElseOnClosing 屬性

定義

取得或設定一個值,指示是否在else每個前一個catchfinally區塊的結尾行加上一個、iftry或區塊,並加上括號。

public:
 property bool ElseOnClosing { bool get(); void set(bool value); };
public bool ElseOnClosing { get; set; }
member this.ElseOnClosing : bool with get, set
Public Property ElseOnClosing As Boolean

屬性值

true若需附加其他內容;否則,。 false 此屬性的預設值為 false

適用於