RemoteUserControl.IRemoteProxiedUserControl.SetCollectionEntryAsync 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.
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
- id
- ObjectId
- index
- Int32
- value
- MessagePackFragment
- version
- Nullable<ObjectVersion>
- cancellationToken
- CancellationToken