CodeGeneratorOptions.ElseOnClosing Propriété

Définition

Obtient ou définit une valeur indiquant s’il faut ajouter un else, catchou finally un bloc, y compris des crochets, à la ligne fermante de chaque bloc ou if précédenttry.

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

Valeur de propriété

true si un autre doit être ajouté ; sinon, false. La valeur par défaut de cette propriété est false.

S’applique à