다음을 통해 공유


Completor.IsExpansionActive Property

Determines if a code snippet is being edited.

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

Syntax

‘선언
Public ReadOnly Property IsExpansionActive As Boolean
public bool IsExpansionActive { get; }

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