public int SetAttrValue(string name, string value) { int ret = OsrPINVOKE.SpatialReference_SetAttrValue(swigCPtr, name, value); if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); return ret; }