< Civ API Docs

CorridorSurfaceCollection Methods

The CorridorSurfaceCollection type exposes the following members.

Methods
 NameDescription
Public methodAdd(String) Adds an empty corridor surface with name and default style.
Public methodAdd(String, ObjectId) Adds an empty corridor surface with name and style.
Public methodGetEnumerator Implements the method declared in the IEnumerable<T> interface. This method return an enumerator which can be use to enumerate this collection.
Public methodGetObjectEnumerator Implements the method declared in the IEnumerable interface. This method return an enumerator which can be used to enumerate this collection.
Public methodRemove(CorridorSurface) Removes the given CorridorSurface.
Public methodRemove(String) Removes a CorridorSurface with the given name.
Public methodRemoveAt Removes a CorridorSurface by index.
Public methodSurfaceNames Gets an array of surface names from the collection.
Top
See Also