API Region GetName

This function obtains the value of the current XML object. E.g. WorldFrame:GetName returns "WorldFrame".

object:GetName


 * Arguments


 * none


 * Returns


 * name
 * name : String containing the name of the object

local name = PlayerFrame:GetName
 * Example

name = "PlayerFrame"
 * Result


 * Description


 * Obtains the XML name of an object. Great for a lot of uses, like generic object handling functions.