2013-03-22 50 views

回答

1
try { 
    std::string test = m_host->getDOMElement()->getProperty<std::string>("src"); 
} catch (...) { 
    // There wasn't a value to fetch 
}