Share via


ProposalManagerBase.TryGetIsProposalPosition Method

Definition

Try to determin whether a proposal should be generated in the given scenario.

public abstract bool TryGetIsProposalPosition (Microsoft.VisualStudio.Text.VirtualSnapshotPoint caret, Microsoft.VisualStudio.Language.Proposals.ProposalScenario scenario, char triggerCharacter, ref bool value);
abstract member TryGetIsProposalPosition : Microsoft.VisualStudio.Text.VirtualSnapshotPoint * Microsoft.VisualStudio.Language.Proposals.ProposalScenario * char * bool -> bool
Public MustOverride Function TryGetIsProposalPosition (caret As VirtualSnapshotPoint, scenario As ProposalScenario, triggerCharacter As Char, ByRef value As Boolean) As Boolean

Parameters

caret
VirtualSnapshotPoint

Location of the caret.

scenario
ProposalScenario

The ProposalScenario that instigated the request for a proposal.

triggerCharacter
Char

The character typed for TypeChar.

value
Boolean

Whether or not a proposal should be generated.

Returns

If true, return value immediately. If false, call the next manager (if any).

Applies to