ProposalManagerBase.TryGetIsProposalPosition Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
- value
- Boolean
Whether or not a proposal should be generated.
Returns
If true, return value
immediately. If false, call the next manager (if any).