IExternalArrayItemCommandsProvider.GetArrayItemCommandsAsync 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.
Returns a collection of custom commands for items in the array setting identified by arraySettingMoniker
.
This should return an empty collection if no custom commands are defined.
public System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<Microsoft.VisualStudio.Utilities.UnifiedSettings.IArrayItemCommand>> GetArrayItemCommandsAsync(string arraySettingMoniker, System.Threading.CancellationToken cancellationToken);
abstract member GetArrayItemCommandsAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<Microsoft.VisualStudio.Utilities.UnifiedSettings.IArrayItemCommand>>
Public Function GetArrayItemCommandsAsync (arraySettingMoniker As String, cancellationToken As CancellationToken) As Task(Of IReadOnlyList(Of IArrayItemCommand))
Parameters
- arraySettingMoniker
- String
- cancellationToken
- CancellationToken