Partager via


CompletionSet.IsCommitted Property

Gets whether any text has been committed to the source file.

Namespace:  Microsoft.VisualStudio.Package
Assemblies:   Microsoft.VisualStudio.Package.LanguageService.11.0 (in Microsoft.VisualStudio.Package.LanguageService.11.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.12.0 (in Microsoft.VisualStudio.Package.LanguageService.12.0.dll)
  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 IsCommitted As Boolean
public bool IsCommitted { get; }
public:
property bool IsCommitted {
    bool get ();
}
member IsCommitted : bool with get
function get IsCommitted () : boolean

Property Value

Type: Boolean
true if text has been committed to the source file, otherwise false.

Remarks

This property returns the state of an internal variable that is set in the base version of the OnCommit method and cleared in the base version of the OnAutoComplete method.

.NET Framework Security

See Also

Reference

CompletionSet Class

Microsoft.VisualStudio.Package Namespace