Web API Reference | MapGuide Open Source

- Overview
- Modules
- Classes

Add
Clear
Contains
GetCount
GetItem
IndexOf
Insert
MgPointCollection
Remove
RemoveAt
SetItem
virtual INT32 MgPointCollection::IndexOf | ( | const MgPoint * | value | ) | const`[virtual]`
Returns the index of the specified point in the collection or -1 if the point does not exist. .NET Syntax
`virtual int IndexOf(const MgPoint value) const;`
Java Syntax
`virtual int IndexOf(const MgPoint value) const;`
PHP Syntax
`virtual int IndexOf(const MgPoint value) const;`
  Parameters:
  | value | (MgPoint) point reference to find the index of.
Returns: The index of the specified point in the collection or -1 if the point does not exist.

Comments or suggestions? Send us feedback.