ILightBulbSession.TryGetSuggestedActionSets Method
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.
Caution
Use IAsyncLightBulbSession.PopulateWithDataAsync instead
Tries to get the list of ISuggestedActions (grouped into SuggestedActionSets) this session displays.
public:
Microsoft::VisualStudio::Language::Intellisense::QuerySuggestedActionCompletionStatus TryGetSuggestedActionSets([Runtime::InteropServices::Out] System::Collections::Generic::IEnumerable<Microsoft::VisualStudio::Language::Intellisense::SuggestedActionSet ^> ^ % actionSets);
public Microsoft.VisualStudio.Language.Intellisense.QuerySuggestedActionCompletionStatus TryGetSuggestedActionSets (out System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.Language.Intellisense.SuggestedActionSet> actionSets);
[System.Obsolete("Use IAsyncLightBulbSession.PopulateWithDataAsync instead")]
public Microsoft.VisualStudio.Language.Intellisense.QuerySuggestedActionCompletionStatus TryGetSuggestedActionSets (out System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.Language.Intellisense.SuggestedActionSet> actionSets);
abstract member TryGetSuggestedActionSets : seq -> Microsoft.VisualStudio.Language.Intellisense.QuerySuggestedActionCompletionStatus
[<System.Obsolete("Use IAsyncLightBulbSession.PopulateWithDataAsync instead")>]
abstract member TryGetSuggestedActionSets : seq -> Microsoft.VisualStudio.Language.Intellisense.QuerySuggestedActionCompletionStatus
Public Function TryGetSuggestedActionSets (ByRef actionSets As IEnumerable(Of SuggestedActionSet)) As QuerySuggestedActionCompletionStatus
Parameters
- actionSets
- IEnumerable<SuggestedActionSet>
Resulting list of SuggestedActionSets.
Returns
QuerySuggestedActionCompletionStatus indicating whether the operation completed successfully or was canceled.
- Attributes
Remarks
Note that this method is intended to be called in response to a user action (such as Light Bulb expansion) and will show a wait dialog if it takes too long to complete.