Udostępnij za pośrednictwem


ISuggestedAction2 Interface

Definition

Important

This API is not CLS-compliant.

Extends ISuggestedAction by providing support for DisplayTextSuffix property.

public interface class ISuggestedAction2 : IDisposable, Microsoft::VisualStudio::Language::Intellisense::ISuggestedAction, Microsoft::VisualStudio::Utilities::ITelemetryIdProvider<Guid>
[System.CLSCompliant(false)]
public interface ISuggestedAction2 : IDisposable, Microsoft.VisualStudio.Language.Intellisense.ISuggestedAction, Microsoft.VisualStudio.Utilities.ITelemetryIdProvider<Guid>
public interface ISuggestedAction2 : IDisposable, Microsoft.VisualStudio.Language.Intellisense.ISuggestedAction, Microsoft.VisualStudio.Utilities.ITelemetryIdProvider<Guid>
[<System.CLSCompliant(false)>]
type ISuggestedAction2 = interface
    interface ISuggestedAction
    interface IDisposable
    interface ITelemetryIdProvider<Guid>
type ISuggestedAction2 = interface
    interface ISuggestedAction
    interface IDisposable
    interface ITelemetryIdProvider<Guid>
Public Interface ISuggestedAction2
Implements IDisposable, ISuggestedAction, ITelemetryIdProvider(Of Guid)
Derived
Attributes
Implements

Properties

DisplayText

Gets the localized text representing the suggested action.

(Inherited from ISuggestedAction)
DisplayTextSuffix

Gets the localized text representing a suffix to be added to the DisplayText.

HasActionSets

Gets whether this action has nested suggested action sets.

(Inherited from ISuggestedAction)
HasPreview

Gets whether this suggested action can provide a preview via GetPreviewAsync(CancellationToken) method call.

(Inherited from ISuggestedAction)
IconAutomationText

Gets the text to be used as the automation name for the icon when it's displayed.

(Inherited from ISuggestedAction)
IconMoniker

Gets an optional icon representing the suggested action or null if this suggested action doesn't have an icon.

(Inherited from ISuggestedAction)
InputGestureText

Gets the text describing an input gesture that will apply the suggested action.

(Inherited from ISuggestedAction)

Methods

GetActionSetsAsync(CancellationToken)

Gets a list of nested sets of suggested actions.

(Inherited from ISuggestedAction)
GetPreviewAsync(CancellationToken)

Gets an object visually representing a preview of the suggested action.

(Inherited from ISuggestedAction)
Invoke(CancellationToken)

Invokes the suggested action.

(Inherited from ISuggestedAction)
TryGetTelemetryId(TId)

Tries to get a unique ID for telemetry purposes.

(Inherited from ITelemetryIdProvider<TId>)

Applies to