PointCollection.Add Method
Add(Point item)
Adds an object to the end of the collection.Syntax
public void Add (
Point 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 (
Point 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 Point& 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(Point o) | Adds an element to the end of the collection. |
Public method | add(int index, Point o) | Inserts an element into the collection at the specified index. |
public final boolean add (
Point o
)
public final void add (
int index,
Point o
)
Windows, Linux, Android
In this article
This element is not available using the selected API.
In this article