MapGuide API Reference
 All Classes Functions Variables Enumerations Enumerator Friends
virtual MgPropertyDefinition* MgPropertyDefinitionCollection::GetItem ( CREFSTRING  name) [virtual]

Gets the item in the collection with the specified name.

.NET Syntax
virtual MgPropertyDefinition GetItem(string name);
Java Syntax
virtual MgPropertyDefinition GetItem(String name);
PHP Syntax
virtual MgPropertyDefinition GetItem(string name);
Parameters:
name(String/string) Input item name
Returns:
Returns the item in the collection with the specified name
Exceptions:
MgObjectNotFoundExceptionif the item does not exist within the collection.