IArrayItemCommand.IsEnabledAsync 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.
Computes whether the command should be enabled for the item represented by arrayItemContent
.
Each key in arrayItemContent
matches a property defined in the array setting, and
the corresponding value is the current value of that property.
public System.Threading.Tasks.Task<bool> IsEnabledAsync (System.Collections.Generic.IDictionary<string,object> arrayItemContent, System.Threading.CancellationToken cancellationToken);
abstract member IsEnabledAsync : System.Collections.Generic.IDictionary<string, obj> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
Public Function IsEnabledAsync (arrayItemContent As IDictionary(Of String, Object), cancellationToken As CancellationToken) As Task(Of Boolean)
Parameters
- arrayItemContent
- IDictionary<String,Object>
- cancellationToken
- CancellationToken