[This is preliminary documentation and is subject to change.]

Changes the name of a given zone.

Namespace: fCraft
Assembly: fCraft (in fCraft.dll) Version: 0.6.3.0 (0.6.3.0)

Syntax

   
 C# 
public void Rename(
	Zone zone,
	string newName
)

Parameters

zone
Zone
Zone to rename.
newName
String
New name to give to the zone.

Exceptions

ExceptionCondition
System..::..ArgumentNullException If zone or newName is null.
System..::..ArgumentException If a zone with a given newName already exists, or if trying to rename a zone that does not exist.

See Also