CodeRegionDirective.RegionText Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets or sets the name of the region.

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

public string RegionText { get; set; }

Property Value

Type: System.String

The name of the region.

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

codeRegionDirective2.RegionText = string.Empty;

.NET Framework
Available since 2.0
Return to top