ImmutableList<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 object to the end of the immutable list.
public:
System::Collections::Immutable::ImmutableList<T> ^ Add(T value);
public System.Collections.Immutable.ImmutableList<T> Add (T value);
member this.Add : 'T -> System.Collections.Immutable.ImmutableList<'T>
Public Function Add (value As T) As ImmutableList(Of T)
Parameters
- value
- T
The object to add.
Returns
A new immutable list with the object added.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.