AvalonEdit
RegisterHighlighting Method (name, extensions, lazyLoadedHighlighting)
NamespacesICSharpCode.AvalonEdit.HighlightingHighlightingManagerRegisterHighlighting(String, array<String>[]()[][], Func<(Of <<'(IHighlightingDefinition>)>>))
Registers a highlighting definition.
Declaration Syntax
C#Visual BasicVisual C++
public void RegisterHighlighting(
	string name,
	string[] extensions,
	Func<IHighlightingDefinition> lazyLoadedHighlighting
)
Public Sub RegisterHighlighting ( _
	name As String, _
	extensions As String(), _
	lazyLoadedHighlighting As Func(Of IHighlightingDefinition) _
)
public:
void RegisterHighlighting(
	String^ name, 
	array<String^>^ extensions, 
	Func<IHighlightingDefinition^>^ lazyLoadedHighlighting
)
Parameters
name (String)
The name to register the definition with.
extensions (array<String>[]()[][])
The file extensions to register the definition for.
lazyLoadedHighlighting (Func<(Of <(<'IHighlightingDefinition>)>)>)
A function that loads the highlighting definition.

Assembly: ICSharpCode.AvalonEdit (Module: ICSharpCode.AvalonEdit.dll) Version: 5.0.0.4238