[This is preliminary documentation and is subject to change.]
Adds a new zone to the collection.
The name of the zone cannot match existing names.
Namespace: fCraftAssembly: fCraft (in fCraft.dll) Version: 0.6.3.5 (0.6.3.5)
Syntax
| C# |
public void Add( Zone zoneToAdd )
Parameters
- zoneToAdd
- Zone
Implements
ICollection<(Of <(<'T>)>)>..::..Add(T)
Exceptions
| Exception | Condition |
|---|---|
| System..::..ArgumentNullException | zoneToAdd is null. |
| System..::..ArgumentException | This exact zone, or another zone with the same name is already in this ZoneCollection. |