ExpansionProvider.InTemplateEditingMode Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Indicates whether the code snippet is currently being edited.
public:
virtual property bool InTemplateEditingMode { bool get(); };
public:
virtual property bool InTemplateEditingMode { bool get(); };
public virtual bool InTemplateEditingMode { get; }
member this.InTemplateEditingMode : bool
Public Overridable ReadOnly Property InTemplateEditingMode As Boolean
Property Value
Returns true
if the code snippet is currently being edited; otherwise, returns false
.
Remarks
A code snippet is first inserted into the source file, then the core editor is placed in a special editing mode where the fields in the snippet can be modified before the snippet is finally committed to the buffer.
The base method returns the value of an internal flag that is set when the InsertNamedExpansion or InsertSpecificExpansion methods are called. A call to EndTemplateEditing clears this internal flag.