[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.5 (0.6.3.5)

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 zone or newName is null.
System..::..ArgumentException A zone with a given newName already exists, or trying to rename a zone that does not exist.

See Also