ColorizationRule(String, String, String) Constructor
Constructor. Defines a rule with a pattern, a region name to limit the match to a specific
part of the pattern, and a class name.
Namespace: Sandcastle.Tools.BuildComponents.SnippetsAssembly: Sandcastle.Tools.BuildComponents (in Sandcastle.Tools.BuildComponents.dll) Version: 2024.12.21.0
public ColorizationRule(
string pattern,
string region,
string className
)
Public Sub New (
pattern As String,
region As String,
className As String
)
public:
ColorizationRule(
String^ pattern,
String^ region,
String^ className
)
new :
pattern : string *
region : string *
className : string -> ColorizationRule
Parameters
- pattern String
- The regular expression used to match the region text
- region String
- The region name that defines the named part of the regular expression to return
for each match.
- className String
- The class name to apply to the region