GetResRef

// returns the template used to create this object (if appropriate) // * returns an empty string when no template found string GetResRef(object oObject);