ProposalBrokerBase.ShouldGenerateProposal 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
應該在 caret
指定的 scenario
和 triggeringCharacter
?端產生提案。
public abstract bool ShouldGenerateProposal (Microsoft.VisualStudio.Text.VirtualSnapshotPoint caret, Microsoft.VisualStudio.Language.Proposals.ProposalScenario scenario, char triggeringCharacter = '\0');
abstract member ShouldGenerateProposal : Microsoft.VisualStudio.Text.VirtualSnapshotPoint * Microsoft.VisualStudio.Language.Proposals.ProposalScenario * char -> bool
Public MustOverride Function ShouldGenerateProposal (caret As VirtualSnapshotPoint, scenario As ProposalScenario, Optional triggeringCharacter As Char = '\0') As Boolean
參數
- caret
- VirtualSnapshotPoint
- scenario
- ProposalScenario
- triggeringCharacter
- Char