A code snippet that can be inserted into the text editor.
| C# | Visual Basic | Visual C++ |
[SerializableAttribute] public class Snippet : SnippetContainerElement
<SerializableAttribute> _ Public Class Snippet _ Inherits SnippetContainerElement
[SerializableAttribute] public ref class Snippet : public SnippetContainerElement
| All Members | Constructors | Methods | Properties | ||
| Icon | Member | Description |
|---|---|---|
| Snippet()()()() | Initializes a new instance of the Snippet class | |
| Elements |
Gets the list of child elements.
(Inherited from SnippetContainerElement.) | |
| 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.) | |
| GetHashCode()()()() | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetType()()()() | Gets the Type of the current instance. (Inherited from Object.) | |
| Insert(TextArea) |
Inserts the snippet into the text area.
| |
| Insert(InsertionContext) |
Performs insertion of the snippet.
(Inherited from SnippetContainerElement.) | |
| MemberwiseClone()()()() | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| ToString()()()() | (Inherited from Object.) | |
| ToTextRun()()()() |
Converts the snippet to text, with replaceable fields in italic.
(Inherited from SnippetContainerElement.) |
Assembly: ICSharpCode.AvalonEdit (Module: ICSharpCode.AvalonEdit.dll) Version: 5.0.0.4238