CompositeValueProvider.SetItem Method
Replaces the element at the specified index.
Namespace: System.Web.Http.ValueProviders.Providers
Assembly: System.Web.Http (in System.Web.Http.dll)
Syntax
'Declaration
Protected Overrides Sub SetItem ( _
index As Integer, _
item As IValueProvider _
)
'Usage
Dim index As Integer
Dim item As IValueProvider
Me.SetItem(index, item)
protected override void SetItem(
int index,
IValueProvider item
)
protected:
virtual void SetItem(
int index,
IValueProvider^ item
) override
abstract SetItem :
index:int *
item:IValueProvider -> unit
override SetItem :
index:int *
item:IValueProvider -> unit
protected override function SetItem(
index : int,
item : IValueProvider
)
Parameters
- index
Type: System.Int32
The zero-based index of the element to replace.
- item
Type: System.Web.Http.ValueProviders.IValueProvider
The new value for the element at the specified index.