TriangleCollection.Add Method
Add(Triangle item)
Adds an object to the end of the collection.Syntax
public void Add (
    Triangle item
)Parameters
The object to be added to the end of the collection.
Platforms
Windows, Linux, Android
If the instance that this method is a member of is part of a Feature that has been inserted into a MemoryDataSet then you must use the Guard class to lock the dataset that the Feature belongs to before you call this method.
More information about thread safety of objects in a dataset can be found in Threading Model, datasets and features.
public void Add (
    Triangle item
)Windows, Linux, Android
In this article
If the instance that this method is a member of is part of a Feature that has been inserted into a MemoryDataSet then you must use the Guard class to lock the dataset that the Feature belongs to before you call this method.
More information about thread safety of objects in a dataset can be found in Threading Model, datasets and features.
public:
void add (
    const Triangle& item
)Windows, Linux, Android
In this article
Adds an object to the end of the collection.
If the instance that this method is a member of is part of a Feature that has been inserted into a MemoryDataSet then you must use the Guard class to lock the dataset that the Feature belongs to before you call this method.
More information about thread safety of objects in a dataset can be found in Threading Model, datasets and features.
| Name | Description | |
|---|---|---|
| Public method | add(Triangle o) | Adds an element to the end of the collection. | 
| Public method | add(int index, Triangle o) | Inserts an element into the collection at the specified index. | 
public final boolean add (
    Triangle o
)public final void add (
    int index,
    Triangle o
)Windows, Linux, Android
In this article
This element is not available using the selected API.
In this article