Are there any API equivalents to these VB methods?