Method Rename
Rename(string, string)
Renames an element (see $rename).
public static UpdateBuilder Rename(string oldElementName, string newElementName)
Parameters
oldElementName
stringThe name of the element to be renamed.
newElementName
stringThe new name of the element.
Returns
- UpdateBuilder
An UpdateDocuemnt.