Udostępnij za pośrednictwem


Completor.IsExpansionActive Property

Determines if a code snippet is being edited.

Namespace:  Microsoft.VisualStudio.Package
Assemblies:   Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
  Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)

Syntax

'Declaration
Public ReadOnly Property IsExpansionActive As Boolean
public bool IsExpansionActive { get; }
public:
property bool IsExpansionActive {
    bool get ();
}
member IsExpansionActive : bool
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

See Also

Reference

Completor Class

Microsoft.VisualStudio.Package Namespace