次の方法で共有


Proposal クラス

定義

を実装する便利な ProposalBaseクラス。

public class Proposal : Microsoft.VisualStudio.Language.Proposals.ProposalBase
type Proposal = class
    inherit ProposalBase
Public Class Proposal
Inherits ProposalBase
継承
Proposal

コンストラクター

Proposal(String, IReadOnlyList<ProposedEdit>, VirtualSnapshotPoint, CompletionState, ProposalFlags, Func<Boolean>, String, String, String, NormalizedSnapshotSpanCollection)

1 つ以上editsの 、位置、および省略可能completionStateな を指定した提案をcaretCreateします。

Proposal(String, IReadOnlyList<ProposedEdit>, VirtualSnapshotPoint, CompletionState, ProposalFlags, Func<Boolean>, String, String, String, String, NormalizedSnapshotSpanCollection)

を実装する便利な ProposalBaseクラス。

Proposal(String, IReadOnlyList<ProposedEdit>, VirtualSnapshotPoint, CompletionState, ProposalFlags, Func<Boolean>, String, String, String, String, String, NormalizedSnapshotSpanCollection)

を実装する便利な ProposalBaseクラス。

プロパティ

AcceptText

ヒント バーの [承諾] ボタンの横に表示されるローカライズされたテキスト。 空の場合は、"受け入れる" のようなローカライズされた文字列が使用されます。

Caret

を実装する便利な ProposalBaseクラス。

CommitAction

を実装する便利な ProposalBaseクラス。

CompletionState

を実装する便利な ProposalBaseクラス。

Description

提案の説明。

Edits

提案が承諾された場合に適用される編集の一覧。

Flags

を実装する便利な ProposalBaseクラス。

NextText

ヒント バーの次の候補ボタンの横に表示されるローカライズされたテキスト。 空の場合は、"次の候補" のようなローカライズされた文字列が使用されます。

PreviewText

を使用 MarkersOnlyThenGrayTextしてのみマーカーを表示する場合に、ヒント バーの [承諾] ボタンの横に表示されるローカライズされたテキスト。 null または空の場合は、"to preview" のようなローカライズされた文字列が使用されます。

ProposalId

を実装する便利な ProposalBaseクラス。

Scope

を実装する便利な ProposalBaseクラス。

UndoDescription

元に戻すリストで提案によって行われた編集を説明するために使用されるローカライズされたテキスト。 null または空の場合は、"completion" のようなローカライズされた文字列が使用されます。

メソッド

ToString()

を実装する便利な ProposalBaseクラス。

TryCreateProposal(String, IReadOnlyList<ProposedEdit>, VirtualSnapshotPoint, CompletionState, ProposalFlags, Func<Boolean>, String, String, String, NormalizedSnapshotSpanCollection)

1 つ以上editsの 、位置、および省略可能completionStateな を指定してcaret、提案を作成してみてください。

TryCreateProposal(String, IReadOnlyList<ProposedEdit>, VirtualSnapshotPoint, CompletionState, ProposalFlags, Func<Boolean>, String, String, String, String, NormalizedSnapshotSpanCollection)

を実装する便利な ProposalBaseクラス。

TryCreateProposal(String, IReadOnlyList<ProposedEdit>, VirtualSnapshotPoint, CompletionState, ProposalFlags, Func<Boolean>, String, String, String, String, String, NormalizedSnapshotSpanCollection)

を実装する便利な ProposalBaseクラス。

ValidateEdits(IReadOnlyList<ProposedEdit>, VirtualSnapshotPoint, CompletionState)

位置とオプションcompletionStateの を指定して、一連の編集がcaret有効かどうかを判断します。

適用対象