ImmutableList<T>.IImmutableList<T>.Add(T) 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.
Adds the specified value to this immutable list.
virtual System::Collections::Immutable::IImmutableList<T> ^ System.Collections.Immutable.IImmutableList<T>.Add(T value) = System::Collections::Immutable::IImmutableList<T>::Add;
System.Collections.Immutable.IImmutableList<T> IImmutableList<T>.Add (T value);
abstract member System.Collections.Immutable.IImmutableList<T>.Add : 'T -> System.Collections.Immutable.IImmutableList<'T>
override this.System.Collections.Immutable.IImmutableList<T>.Add : 'T -> System.Collections.Immutable.IImmutableList<'T>
Function Add (value As T) As IImmutableList(Of T) Implements IImmutableList(Of T).Add
Parameters
- value
- T
The value to add.
Returns
A new list with the element added.
Implements
Remarks
This member is an explicit interface member implementation. It can be used only when the ImmutableList<T> instance is cast to an IImmutableList<T> interface.
Applies to
Colaborați cu noi pe GitHub
Sursa pentru acest conținut poate fi găsită pe GitHub, unde puteți, de asemenea, să creați și să consultați probleme și solicitări de tragere. Pentru mai multe informații, consultați ghidul nostru pentru colaboratori.