/// <summary> /// Sets the key's value. /// </summary> /// <param name="newValue">The new value.</param> public virtual void AsInt(int newValue) { AssertTypeSafe(GribValueType.Int); GribApiProxy.GribSetLong(_handle, Key, newValue); }