共用方式為


SuggestionDismissedEventArgs 建構函式

定義

的事件 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

適用於