Udostępnij za pośrednictwem


IAsyncCompletionCommitManager.PotentialCommitCharacters Property

Definition

Returns characters that may commit completion.

When completion is active and a text edit matches one of these characters, ShouldCommitCompletion(IAsyncCompletionSession, SnapshotPoint, Char, CancellationToken) is called to verify that the character is indeed a commit character at a given location.

Called on UI thread.

If the commit charactersr are not known or are variable, consider using IAsyncCompletionCommitManager2 which ignores the PotentialCommitCharacters optimization and supports handling each character individually.

public:
 property System::Collections::Generic::IEnumerable<char> ^ PotentialCommitCharacters { System::Collections::Generic::IEnumerable<char> ^ get(); };
public System.Collections.Generic.IEnumerable<char> PotentialCommitCharacters { get; }
member this.PotentialCommitCharacters : seq<char>
Public ReadOnly Property PotentialCommitCharacters As IEnumerable(Of Char)

Property Value

Applies to