In This Article

CodeSnippetDeclarationBase Class

Provides the abstract base class for a code snippet declaration.

public abstract class CodeSnippetDeclarationBase : ICodeSnippetDeclaration
Inheritance:
object object
Derived:
CodeSnippetLiteralDeclaration CodeSnippetObjectDeclaration
Implements:
ICodeSnippetDeclaration

Constructors

CodeSnippetDeclarationBase()

Initializes a new instance of the CodeSnippetDeclarationBase class.

protected CodeSnippetDeclarationBase()

Properties

DefaultText

Gets or sets the default text value of the declaration, when the code snippet has been inserted.

public string DefaultText { get; set; }

Property Value

string:

The default text value of the declaration, when the code snippet has been inserted.

FunctionInvocation

Gets or sets a function to execute when the declaration receives focus.

public string FunctionInvocation { get; set; }

Property Value

string:

A function to execute when the declaration receives focus.

Id

Gets or sets a unique identifier for the declaration.

public string Id { get; set; }

Property Value

string:

A unique identifier for the declaration.

IsEditable

Gets or sets whether the declaration is editable by the end-user once the code snippet has been inserted.

public bool IsEditable { get; set; }

Property Value

bool:

true if the declaration is editable by the end-user once the code snippet has been inserted; otherwise, false.

ToolTip

Gets or sets a description of the expected value and usage of the declaration, that can be used in a tooltip.

public string ToolTip { get; set; }

Property Value

string:

A description of the expected value and usage of the declaration.

Inherited Members