T3000 CrossPlatform Documentation
SyntaxHighlighterAddXmlDescription Method |
[This is preliminary documentation and is subject to change.]
Uses the given doc to parse a XML description and adds it as syntax descriptor.
The syntax descriptor is used for highlighting when
- Language property of FCTB is set to Custom
- DescriptionFile property of FCTB has the same value as the method parameter descriptionFileName
Namespace: FastColoredTextBoxNS
Assembly: FastColoredTextBox (in FastColoredTextBox.dll) Version: 2.16.23.0 (2.16.23.0)
Syntax
public virtual void AddXmlDescription( string descriptionFileName, XmlDocument doc )
Public Overridable Sub AddXmlDescription ( descriptionFileName As String, doc As XmlDocument ) Dim instance As SyntaxHighlighter Dim descriptionFileName As String Dim doc As XmlDocument instance.AddXmlDescription(descriptionFileName, doc)
Parameters
- descriptionFileName
- Type: SystemString
Name of the description file - doc
- Type: System.XmlXmlDocument
XmlDocument to parse
See Also