public string GetAttrValue(string name, int child) { string ret = OsrPINVOKE.SpatialReference_GetAttrValue(swigCPtr, name, child); if (OsrPINVOKE.SWIGPendingException.Pending) { throw OsrPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }