ProposalManagerBase.TryGetIsProposalPosition 方法

定義

嘗試判斷是否應該在指定的案例中產生提案。

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

參數

caret
VirtualSnapshotPoint

插入號的位置。

scenario
ProposalScenario

ProposalScenario 表示提出提案的要求。

triggerCharacter
Char

為輸入的 TypeChar字元。

value
Boolean

是否應該產生提案。

傳回

如果為 true,請立即傳回 value 。 如果為 false,請呼叫下一個經理 (是否有任何) 。

適用於