編輯

共用方式為


CodeGeneratorOptions.BracingStyle Property

Definition

Gets or sets the style to use for bracing.

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

Property Value

A string containing the bracing style to use.

Remarks

The default value of this property is Block, which indicates that code should be generated so that braces start on the same line as the statement or declaration that they are associated with. A property value of C indicates that braces start on the line following the statement or declaration that they are associated with.

Applies to