Retrieves a map area from a position.
[C#] In C#, this property is the indexer for the MapEngine class.
[Visual Basic] Public Default Property ReadOnly Item( _ ByVal p As Position _ ) As MapArea [C#] public MapArea this[ Position p ] { get; } [C++] public: __property MapArea* get_Item( Position* p ); [JScript] returnValue = MapEngineObject.Item( p ); -or- returnValue = MapEngineObject( p );
[JScript] In JScript, you can use the default indexed properties defined by a type, but you cannot explicitly define your own. However, specifying the expando attribute on a class automatically provides a default indexed property whose type is Object and whose index type is String.
MapEngine Class | croemud.map Namespace | MapEngine.Item Overload List