Represents a rule for formatting script code.
| C# | Visual Basic | Visual C++ |
public class FormattingRule
Public Class FormattingRule
public ref class FormattingRule
| All Members | Constructors | Methods | Fields | ||
| Icon | Member | Description |
|---|---|---|
| FormattingRule(String, Regex, Color, Boolean, Boolean) |
Constructor.
| |
| color |
The color for the text.
| |
| Equals(Object) | (Inherited from Object.) | |
| Finalize()()() | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
| FromXML(String) |
Creates a list formatting rule objects from an xml description (so that rules can be passed through automation engine).
| |
| GetHashCode()()() | Serves as a hash function for a particular type. GetHashCode()()() is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) | |
| GetType()()() | Gets the Type of the current instance. (Inherited from Object.) | |
| isBold |
Whether to make the text bold.
| |
| isItalic |
Whether to make the text italic.
| |
| MemberwiseClone()()() | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| name |
The name of the rule.
| |
| pattern |
The text to match.
| |
| ToString()()() | (Inherited from Object.) | |
| ToXML()()() |
Converts a formatting rule to xml (so that rules can be passed through automation engine).
|
| Object | |
| FormattingRule | |