CodeRegionDirective.RegionMode Property

 

Gets or sets the mode for the region directive.

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

public CodeRegionMode RegionMode { get; set; }

Property Value

Type: System.CodeDom.CodeRegionMode

One of the CodeRegionMode values. The default is None.

The following code example shows the use of the RegionMode property. This example is part of a larger example provided for the CodeRegionDirective class.

codeRegionDirective2.RegionMode = CodeRegionMode.End;

.NET Framework
Available since 2.0
Return to top
Show: