ProposalSourceBase.RequestProposalsAsync Yöntem

Tanım

Belirtilen completionStateve scenariotriggeringCharacterdeğerlerini takip caret eden herhangi bir teklif içeren bir ProposalCollectionBase döndürür.

public abstract System.Threading.Tasks.Task<Microsoft.VisualStudio.Language.Proposals.ProposalCollectionBase?> RequestProposalsAsync (Microsoft.VisualStudio.Text.VirtualSnapshotPoint caret, Microsoft.VisualStudio.Language.Proposals.CompletionState? completionState, Microsoft.VisualStudio.Language.Proposals.ProposalScenario scenario, char triggeringCharacter, System.Threading.CancellationToken cancel);
abstract member RequestProposalsAsync : Microsoft.VisualStudio.Text.VirtualSnapshotPoint * Microsoft.VisualStudio.Language.Proposals.CompletionState * Microsoft.VisualStudio.Language.Proposals.ProposalScenario * char * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.VisualStudio.Language.Proposals.ProposalCollectionBase>
Public MustOverride Function RequestProposalsAsync (caret As VirtualSnapshotPoint, completionState As CompletionState, scenario As ProposalScenario, triggeringCharacter As Char, cancel As CancellationToken) As Task(Of ProposalCollectionBase)

Parametreler

completionState
CompletionState
scenario
ProposalScenario
triggeringCharacter
Char

Döndürülenler

Kullanıcının isteyebileceği teklifler. Null döndürebilir.

Açıklamalar

Ayrıca, öğesinden sonra Proposalsek tekliflerin oluşturulmasına izin vermek için bir LazyProposalCollectionBase döndürebilir.

Şunlara uygulanır