Provides the base requirements for a code snippet declaration.
Properties
DefaultText
Gets the default text value of the declaration, when the code snippet has been inserted.
Property Value
- string:
The default text value of the declaration, when the code snippet has been inserted.
FunctionInvocation
Gets a function to execute when the declaration receives focus.
Property Value
- string:
A function to execute when the declaration receives focus.
Id
Gets a unique identifier for the declaration.
Property Value
- string:
A unique identifier for the declaration.
IsEditable
Gets whether the declaration is editable by the end-user once the code snippet has been inserted.
Property Value
- bool:
true
if the declaration is editable by the end-user once the code snippet has been inserted; otherwise,false
.
ToolTip
Gets a description of the expected value and usage of the declaration, that can be used in a tooltip.
Property Value
- string:
A description of the expected value and usage of the declaration.