Пример #1
0
        /// <summary>
        /// Sets the key's value.
        /// </summary>
        /// <param name="newValue">The new value.</param>
        public virtual void AsString(string newValue)
        {
            AssertTypeSafe(GribValueType.String);

            SizeT len = (SizeT)newValue.Length;

            GribApiProxy.GribSetString(_handle, Key, newValue, ref len);
        }