CodeGeneratorOptions.ElseOnClosing 屬性

定義

取得或設定值,指出是否在先前每一個 elsecatch 區塊的結尾行處,附加包含括號的 finallyiftry 區塊。

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

適用於