Compartir a través de


RemoteUserControl.IRemoteProxiedUserControl.SetCollectionEntryAsync Method

Definition

This method updates a property of an IList that is part of the DataContext of the control.

System.Threading.Tasks.Task<bool> IRemoteProxiedUserControl.SetCollectionEntryAsync (Microsoft.VisualStudio.RpcContracts.RemoteUI.ObjectId id, int index, Microsoft.VisualStudio.RpcContracts.RemoteUI.MessagePackFragment value, Microsoft.VisualStudio.RpcContracts.RemoteUI.ObjectVersion? version, System.Threading.CancellationToken cancellationToken);
abstract member Microsoft.VisualStudio.RpcContracts.RemoteUI.IRemoteProxiedUserControl.SetCollectionEntryAsync : Microsoft.VisualStudio.RpcContracts.RemoteUI.ObjectId * int * Microsoft.VisualStudio.RpcContracts.RemoteUI.MessagePackFragment * Nullable<Microsoft.VisualStudio.RpcContracts.RemoteUI.ObjectVersion> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
override this.Microsoft.VisualStudio.RpcContracts.RemoteUI.IRemoteProxiedUserControl.SetCollectionEntryAsync : Microsoft.VisualStudio.RpcContracts.RemoteUI.ObjectId * int * Microsoft.VisualStudio.RpcContracts.RemoteUI.MessagePackFragment * Nullable<Microsoft.VisualStudio.RpcContracts.RemoteUI.ObjectVersion> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
Function SetCollectionEntryAsync (id As ObjectId, index As Integer, value As MessagePackFragment, version As Nullable(Of ObjectVersion), cancellationToken As CancellationToken) As Task(Of Boolean) Implements IRemoteProxiedUserControl.SetCollectionEntryAsync

Parameters

index
Int32
cancellationToken
CancellationToken

Returns

Implements

Applies to