Table of Contents

Class CodeSnippetCode

Namespace
Alternet.Syntax.CodeCompletion
Assembly
Alternet.Syntax.v9.dll

Specifies the code that you want to insert into a file.

public class CodeSnippetCode : CodeCompletionProviderItem, ICodeSnippetCode, ICodeCompletionProviderItem, IComparable
Inheritance
CodeSnippetCode
Implements

Constructors

CodeSnippetCode()

Initializes a new instance of the CodeSnippetCode class with default settings.

Properties

Code

Specifies the code that you want to insert into a file.

Delimiter

Specifies the delimiter used to describe literals and objects in the code.

Kind

Specifies the kind of code the snippet contains, and thus, where the snippet can be inserted.

Language

Specifies the language of the code snippet.

SerializationInfo

Gets or sets an xml representation of this CodeSnippetCode object.

Methods

Assign(ICodeSnippetCode)

Copies the contents of another ICodeSnippetCode object.

CompareTo(object)

Compares this instance to a specified object and returns an indication of their relative values.

OnCodeChanged()
OnDelimiterChanged()
OnKindChanged()
OnLanguageChanged()