Completor.IsExpansionActive Property
Determines if a code snippet is being edited.
Namespace: Microsoft.VisualStudio.Package
Assembly: Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
Syntax
'Declaration
Public ReadOnly Property IsExpansionActive As Boolean
'Usage
Dim instance As Completor
Dim value As Boolean
value = instance.IsExpansionActive
public bool IsExpansionActive { get; }
public:
property bool IsExpansionActive {
bool get ();
}
public function get IsExpansionActive () : boolean
Property Value
Type: System.Boolean
If a code snippet is being edited, returns true; otherwise, returns false.
Remarks
After a code snippet is inserted, it is placed in a special edit mode to allow easy selection and updates to any user-modifiable fields in the snippet.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.