แก้ไข

แชร์ผ่าน


CodeRegionDirective.RegionMode Property

Definition

Gets or sets the mode for the region directive.

public:
 property System::CodeDom::CodeRegionMode RegionMode { System::CodeDom::CodeRegionMode get(); void set(System::CodeDom::CodeRegionMode value); };
public System.CodeDom.CodeRegionMode RegionMode { get; set; }
member this.RegionMode : System.CodeDom.CodeRegionMode with get, set
Public Property RegionMode As CodeRegionMode

Property Value

One of the CodeRegionMode values. The default is None.

Examples

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;
codeRegionDirective2.RegionMode = CodeRegionMode.End

Applies to