Delete a hidden objects

Hi guys.
How I can delete a hidden object?

I found this Doc.Objects.Delete Bug?, in this foro

    ObjectEnumeratorSettings s = new ObjectEnumeratorSettings
    HiddenObjects = true
    var hiddenObjects = doc.Objects.GetObjectList(s);
    foreach(var obj in hiddenObjects)
       obj.IsHidden = false;
       doc.Objects.Delete(obj, true);

But IsHidden has not a setter?

Somebody can help me?

Thanks in advance.

obj.Visible = true;

Thank very much for you answer.
Nor it has has a setter. But it has given me an idea of where to look.

obj.Attributes.Visible = true;

It works.

Thanks again