Adding nodata value to ArchGDAL dataset

Hello,
I am trying to setnodatavalue! while creating a dataset, I do not see how to do this with the API. I see it is possible for a RasterBand object. Could someone point be to am example of ArchGDAL where nodata value can be set for an AbstractDataset.

Thanks

This is not possible as far as I know. The nodata value is set on the raster band level.

Thanks. then I go the the RasterBand way.