共用方式為


ICompletionDefaults.SuggestedDefaults Property

Definition

Gets possible values for a default selection for an ICompletionSession.

public System.Collections.Generic.IReadOnlyList<string> SuggestedDefaults { get; }
member this.SuggestedDefaults : System.Collections.Generic.IReadOnlyList<string>
Public ReadOnly Property SuggestedDefaults As IReadOnlyList(Of String)

Property Value

Remarks

SuggestedDefaults is a, possibly empty, list of suggested default selections for an ICompletionSession. The default selection should be set to the first entry in SuggestedDefaults that matches an item in the completion list. Note that SuggestedDefaults can contain items that are not in the completion list.

Applies to