public uint GetDimensionCount() { uint ret = GdalPINVOKE.Attribute_GetDimensionCount(swigCPtr); if (GdalPINVOKE.SWIGPendingException.Pending) { throw GdalPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }