SuggestionDismissedEventArgs 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
的事件 SuggestionDismissed自變數。 每當建議會話關閉而不接受提案時引發。
public SuggestionDismissedEventArgs (string providerName, Microsoft.VisualStudio.Text.Editor.ITextView view, Microsoft.VisualStudio.Language.Proposals.ProposalBase? originalProposal, Microsoft.VisualStudio.Language.Proposals.ProposalBase? finalProposal, Microsoft.VisualStudio.Language.Suggestions.ReasonForDismiss reason);
new Microsoft.VisualStudio.Language.Suggestions.SuggestionDismissedEventArgs : string * Microsoft.VisualStudio.Text.Editor.ITextView * Microsoft.VisualStudio.Language.Proposals.ProposalBase * Microsoft.VisualStudio.Language.Proposals.ProposalBase * Microsoft.VisualStudio.Language.Suggestions.ReasonForDismiss -> Microsoft.VisualStudio.Language.Suggestions.SuggestionDismissedEventArgs
Public Sub New (providerName As String, view As ITextView, originalProposal As ProposalBase, finalProposal As ProposalBase, reason As ReasonForDismiss)
參數
- providerName
- String
- view
- ITextView
- originalProposal
- ProposalBase
- finalProposal
- ProposalBase
- reason
- ReasonForDismiss