CodeGeneratorOptions.BracingStyle 属性

定义

获取或设置用于准备的样式。

public:
 property System::String ^ BracingStyle { System::String ^ get(); void set(System::String ^ value); };
public string BracingStyle { get; set; }
member this.BracingStyle : string with get, set
Public Property BracingStyle As String

属性值

包含要使用的准备样式的字符串。

注解

此属性的默认值是 Block,它指示应生成代码,以便大括号以与其关联的语句或声明相同的行开头。 一个属性值 C ,指示大括号在与其关联的语句或声明之后的行上开始。

适用于