This documentation is archived and is not being maintained.

CodeGeneratorOptions.BracingStyle Property

Gets or sets the style to use for bracing.

Namespace: System.CodeDom.Compiler
Assembly: System (in system.dll)

public string BracingStyle { get; set; }
/** @property */
public String get_BracingStyle ()

/** @property */
public void set_BracingStyle (String value)

public function get BracingStyle () : String

public function set BracingStyle (value : String)

Not applicable.

Property Value

A string containing the bracing style to use.

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.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0