Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ImmutableList<T>::IList::Add Method (Object^)

 

Adds an item to the immutable list.

Namespace:   System.Collections.Immutable
Assembly:  System.Collections.Immutable (in System.Collections.Immutable.dll)

private:
virtual int Add(
	Object^ value
) sealed = IList::Add

Parameters

value
Type: System::Object^

The object to add to the list.

Return Value

Type: System::Int32

The position into which the new element was inserted, or -1 to indicate that the item was not inserted into the list.

This member is an explicit interface member implementation. It can be used only when the ImmutableList<T> instance is cast to an IList interface.

Return to top
Show:
© 2017 Microsoft