Get histogram boundaries

If I istance an istogram

TH1F h("h","h",100,0,10);

how to retrive the boundaries (0,10)? The only solution I got is:

h.GetBinCenter(1)
h.GetBinCenter(h.GetNbinsX())

h.GetBinLowEdge(1)
(const Double_t)0.00000000000000000e+00

h.GetBinLowEdge(h.GetNbinsX())+h.GetBinWidth(h.GetNbinsX())
(const double)1.00000000000000000e+01