SuggestionAcceptedEventArgs Constructor
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.
Event args for SuggestionAccepted. Raised whenever the user accepts a proposal (causing the suggestion session to end).
public SuggestionAcceptedEventArgs (string providerName, Microsoft.VisualStudio.Text.Editor.ITextView view, Microsoft.VisualStudio.Language.Proposals.ProposalBase originalProposal, Microsoft.VisualStudio.Language.Proposals.ProposalBase finalProposal, Microsoft.VisualStudio.Language.Suggestions.ReasonForAccept reason);
new Microsoft.VisualStudio.Language.Suggestions.SuggestionAcceptedEventArgs : string * Microsoft.VisualStudio.Text.Editor.ITextView * Microsoft.VisualStudio.Language.Proposals.ProposalBase * Microsoft.VisualStudio.Language.Proposals.ProposalBase * Microsoft.VisualStudio.Language.Suggestions.ReasonForAccept -> Microsoft.VisualStudio.Language.Suggestions.SuggestionAcceptedEventArgs
Public Sub New (providerName As String, view As ITextView, originalProposal As ProposalBase, finalProposal As ProposalBase, reason As ReasonForAccept)
Parameters
- providerName
- String
- view
- ITextView
- originalProposal
- ProposalBase
- finalProposal
- ProposalBase
- reason
- ReasonForAccept