System.CodeDom.CodeRegionDirective Class

Specifies the name and mode for a code region.

See Also: CodeRegionDirective Members

Syntax

[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.AutoDispatch)]
[System.Runtime.InteropServices.ComVisible(true)]
public class CodeRegionDirective : CodeDirective

Remarks

The CodeRegionDirective.RegionMode property specifies whether an instance represents the start or end of the region.

Note:

Not all compilers support code region directives. To prevent compiler errors, code providers normally do not include code region directives in the provider output for compilers that do not support them.

Requirements

Namespace: System.CodeDom
Assembly: System (in System.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0