SuggestedActionPriorityAttribute Class
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.
Declares a supported priority for receiving GetSuggestedActionsAsync(ISuggestedActionCategorySet, SnapshotSpan, ImmutableArray<ISuggestedActionSetCollector>, CancellationToken) requests. Use one SuggestedActionPriorityAttribute for each supported priority.
Priorities declared by ISuggestedActionsSourceProvider using the SuggestedActionPriorityAttribute are then used in ISuggestedActionSetCollector.Priority passed to GetSuggestedActionsAsync(ISuggestedActionCategorySet, SnapshotSpan, ImmutableArray<ISuggestedActionSetCollector>, CancellationToken).
public ref class SuggestedActionPriorityAttribute sealed : Microsoft::VisualStudio::Utilities::MultipleBaseMetadataAttribute
public sealed class SuggestedActionPriorityAttribute : Microsoft.VisualStudio.Utilities.MultipleBaseMetadataAttribute
type SuggestedActionPriorityAttribute = class
inherit MultipleBaseMetadataAttribute
Public NotInheritable Class SuggestedActionPriorityAttribute
Inherits MultipleBaseMetadataAttribute
- Inheritance
Constructors
SuggestedActionPriorityAttribute(String) |
Initializes a new instance of SuggestedActionPriorityAttribute. |
Properties
Priority |
The priority name to use in GetSuggestedActionsAsync(ISuggestedActionCategorySet, SnapshotSpan, ImmutableArray<ISuggestedActionSetCollector>, CancellationToken) requests. |