VisualBasicFormattingInfoSplitRegions Method
Splits the source code into language regions.
Namespace: Ookii.FormatCAssembly: Ookii.FormatC (in Ookii.FormatC.dll) Version: 2.3.2+a0abe9e363271833c90424d1444b43a67fa5858f
public IEnumerable<LanguageRegion> SplitRegions(
string code,
int index,
int length
)
Public Function SplitRegions (
code As String,
index As Integer,
length As Integer
) As IEnumerable(Of LanguageRegion)
public:
virtual IEnumerable<LanguageRegion^>^ SplitRegions(
String^ code,
int index,
int length
) sealed
abstract SplitRegions :
code : string *
index : int *
length : int -> IEnumerable<LanguageRegion>
override SplitRegions :
code : string *
index : int *
length : int -> IEnumerable<LanguageRegion>
- code String
- The code.
- index Int32
- The index in the code to start at.
- length Int32
- The number of characters from index to process.
IEnumerableLanguageRegionA list of language regions.
IMultilanguageFormattingInfoSplitRegions(String, Int32, Int32)