Web API Reference
MapGuide Open Source
Overview
Modules
Classes
MgClassDefinitionCollection
Add
Clear
Contains
GetCount
GetItem
IndexOf
Insert
MgClassDefinitionCollection
Remove
RemoveAt
SetItem
void MgClassDefinitionCollection::SetItem
(
INT32
index
,
MgClassDefinition
*
value
)
Sets the item in the collection at the specified index to the specified value.
.NET Syntax
void SetItem(int index, MgClassDefinition value);
Java Syntax
void SetItem(int index, MgClassDefinition value);
PHP Syntax
void SetItem(int index, MgClassDefinition value);
Parameters:
index
(int) Input index
value
(
MgClassDefinition
) Input value
Returns:
Returns nothing.
Exceptions:
MgIndexOutOfRangeException
if the index is out of range.
MgDuplicateObjectException
if it is a duplicate.
Comments or suggestions? Send us
feedback
.