Splits the source code into language regions.
Namespace: Ookii.FormatCAssembly: Ookii.FormatC (in Ookii.FormatC.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax
public IEnumerable<LanguageRegion> SplitRegions( string code, int index, int length )
Parameters
- code
- Type:
System String
The code.
- index
- Type:
System Int32
The index in the code to start at.
- length
- Type:
System Int32
The number of characters from index to process.
Return Value
A list of language regions.Implements
IMultilanguageFormattingInfo SplitRegions(String, Int32, Int32)See Also