CodeRegionDirective.RegionMode Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.